Provides temporaryUrl()
method for local filesystem driver
You can install the package via composer:
composer require rabiloo/laravel-local-temporary-url
use Illuminate\Support\Facades\Storage;
$url = Storage::disk('local')->temporaryUrl($path, now()->addSeconds(120));
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.