Use the function public_path()
For the refereneecho base_path(); //Path to the root folder of the projectecho app_path(); //Path to app folder of the projectecho public_path(); //Path to public folder of the projectecho storage_path('app'); //Path to storage folder of the project