laravel storage app folder path from command code example Example: laravel get path to storage folder $path = storage_path('app/file.txt');