rabiloo / laravel-local-temporary-url
This package provides temporary url method for local filesystem driver
v1.0.0
2022-05-17 04:34 UTC
Requires
- php: ^8.0
- illuminate/support: ^8.12|^9.0
Requires (Dev)
- nunomaduro/collision: ^6.2
- orchestra/testbench: ^6.0|^7.0
- phpunit/phpunit: ^9.5
- psalm/plugin-laravel: ^1.0|^2.0
- squizlabs/php_codesniffer: ^3.6
- vimeo/psalm: ^4.11
This package is auto-updated.
Last update: 2024-11-10 12:19:15 UTC
README
Provides temporaryUrl()
method for local filesystem driver
Installation
You can install the package via composer:
composer require rabiloo/laravel-local-temporary-url
Usage
use Illuminate\Support\Facades\Storage; $url = Storage::disk('local')->temporaryUrl($path, now()->addSeconds(120));
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.