Answers for "how to access items in public path laravel"

C#
1

laravel get public path url

// 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');
Posted by: Guest on November-08-2020
0

public_path laravel

echo base_path() . "n";
echo app_path() . "n";
echo public_path() . "n";
echo storage_path() . "n";
Posted by: Guest on October-17-2021

C# Answers by Framework

Browse Popular Code Answers by Language