Skip to content

rabiloo/laravel-local-temporary-url

Repository files navigation

Laravel Local Temporary Url

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Provides temporaryUrl() method for local filesystem driver

Laravel Local Temporary Url

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.

About

Provides temporary url for local filesystem driver

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages