What is Path in laravel framework?

File name : index.php

// 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');

File name : index.php

$path = base_path().'/public';
return File::put($path , $data)

File name : index.php

$storage_path = storage_path()





Previous Next


Trending Tutorials




Review & Rating

0.0 / 5

0 Review

5
(0)

4
(0)

3
(0)

2
(0)

1
(0)

Write Review Here


Ittutorial