Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
Added list files example
Browse files Browse the repository at this point in the history
  • Loading branch information
hcaz authored Apr 30, 2020
1 parent 1c8418b commit 3b56a82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ Add a new disk to your `filesystems.php` config
```php
$disk = Storage::disk('wasabi');

// list all files
$files = $disk->files('/');

// create a file
$disk->put('avatars/1', $fileContents);

Expand Down

0 comments on commit 3b56a82

Please sign in to comment.