How get i get path from root in Laravel Updated
Laravel provides few functions out of the box. These functions help us to get access of different directories inside laravel project. You can access public directory, Storage directory and so on. Without putting much efforts
here are the functions.
To go to Public folder in laravel project
To go to base directory in laravel project
To go to storage path use this function
To access the root or app folder
Hope this helps