rabiloo/laravel-local-temporary-url

This package provides temporary url method for local filesystem driver

v1.0.0 2022-05-17 04:34 UTC

This package is auto-updated.

Last update: 2024-12-10 12:31:31 UTC


README

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.