Better Support for Temporary URLs in Laravel Filesystems
| Package | Laravel |
|---|---|
| 1.x | 8.x |
| 2.x | 9.x |
composer require friendsofcat/laravel-better-temporary-urls
This packages service provider is auto discovered, so the service provider does not need to be manually added.
Configuration can be published with the artisan vendor:publish command.
The following filesystem adapters can be overridden:
local: An overridden version of the local adapter to provide a temporary URL (signed) route.s3: An overridden S3 adapter to provide a customgetTemporaryUrlmethod that generates signed/timed S3 links without making additional requests to get the actual link.
These adapters are enabled by default, but can be disabled in configuration.