Answers for "how to set root path in laravel"

PHP
3

laravel get project root

public_path(); // Path of public/
base_path(); // Path of application root
storage_path(); // Path of storage/
app_path(); // Path of app/
Posted by: Guest on August-24-2020
0

laravel impossible to create the root directory

This link has an answer that has worked for many users.
It is bound to work for you too!
https://laracasts.com/discuss/channels/general-discussion/impossible-to-create-the-root-directory-error-when-uploading-file-into-public-folder
Posted by: Guest on November-04-2020

Browse Popular Code Answers by Language