friendsofcat / laravel-better-temporary-urls
Better temporary URL handling for Laravel filesystems
Installs: 87 472
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 8
Forks: 2
Open Issues: 2
Requires
- php: ^7.3|^7.4|^8.0
- laravel/framework: ^5.8|^6.0|^7.0|^8.0|^9.0
Requires (Dev)
- league/flysystem-aws-s3-v3: ^3.0
- mockery/mockery: ^1.3.1
- orchestra/testbench: ^4.0|^5.0|^7.1
- php-coveralls/php-coveralls: ^2.1
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^3.3
README
Better Support for Temporary URLs in Laravel Filesystems
Installation
Versions
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.
Adapters
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 customgetTemporaryUrl
method 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.