rabiloo/laravel-local-temporary-url

This package provides temporary url method for local filesystem driver

Downloads

178

Stars

3

Version

v1.0.0

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.

rabiloo

Author

rabiloo