Skip to content

v1.0.0

Compare
Choose a tag to compare
@abrardev99 abrardev99 released this 03 Nov 15:05
· 6 commits to main since this release
dade6eb

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));