1// Path to the project's root folder
2echo base_path();
3
4// Path to the 'app' folder
5echo app_path();
6
7// Path to the 'public' folder
8echo public_path();
9
10// Path to the 'storage' folder
11echo storage_path();
12
13// Path to the 'storage/app' folder
14echo storage_path('app');
15
1echo base_path() . "\n";
2echo app_path() . "\n";
3echo public_path() . "\n";
4echo storage_path() . "\n";