Question : laravel get public path url
Answered by : agreeable-addax-szziava7lror
// Path to the project's root folder
echo base_path();
// Path to the 'app' folder
echo app_path();
// Path to the 'public' folder
echo public_path();
// Path to the 'storage' folder
echo storage_path();
// Path to the 'storage/app' folder
echo storage_path('app');
Source : https://stackoverflow.com/questions/14837065/how-to-get-public-directory | Last Update : Sun, 15 Nov 20
Question : public_path laravel
Answered by : spotless-swan-f7m0lmzpi0q6
echo base_path() . "\n";
echo app_path() . "\n";
echo public_path() . "\n";
echo storage_path() . "\n";
Source : | Last Update : Sun, 24 Oct 21
Question : How to get public folder path in laravel
Answered by : dilan-tsasi
public_path(); // Path of public/
Source : https://www.itsolutionstuff.com/post/how-can-i-get-the-path-from-laravel-application-rootexample.html | Last Update : Fri, 17 Jun 22