Skip to content

Releases: abrardev99/laravel-local-temporary-url

v1.1.1

25 Mar 17:47
6ef34ad
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.1...v1.1.1

v1.0.1

02 Jan 08:02
1d71537
Compare
Choose a tag to compare

Bump aglipanci/laravel-pint-action from 2.3.0 to 2.3.1

v1.0.0

03 Nov 15:05
dade6eb
Compare
Choose a tag to compare

Usage

This package needs zero configuration, just install and it's good to go. However, if your local disk is different or you want to add another disk, you can configure it. You can add multiple local disks in the config using the disk key.

The package applies web and signed middleware on routes by default, however, you can configure middleware(s) using the middleware key.

Generate Temporary URL

You can use the same syntax used for S3 disk.

Storage::disk('local')->temporaryUrl('file.txt', now()->addMinutes(5));