Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
abrardev99 authored and github-actions[bot] committed Nov 3, 2023
1 parent dade6eb commit 328ed98
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Changelog

All notable changes to `laravel-local-temporary-url` will be documented in this file.

## First release - 2023-11-03

### 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. <br>

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.

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

```

0 comments on commit 328ed98

Please sign in to comment.