Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jun 28, 2023
1 parent d169f86 commit a75ffd9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,10 @@ return [
];
```

### `downloadViaTemporaryUrl` Mixin

Laravel Vapor has a response limit of 6MB and this would cause issue when you need to download large files. You can avoid this by utilising `Storage::temporaryUrl()` to download the file:

```php
VaporFile::make('Filename')->downloadViaTemporaryUrl(),
```

0 comments on commit a75ffd9

Please sign in to comment.