Laravel - File Storage - File Paths

You may use the path method to get the path for a given file. If you are using the local driver, this will return the absolute path to the file. If you are using the s3 driver, this method will return the relative path to the file in the S3 bucket:

    
    use Illuminate\Support\Facades\Storage;
    
    $path = Storage::path('file.jpg');