Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksagona committed Oct 29, 2023
1 parent 8ba24a7 commit 2747eed
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ $storage = Storage::createS3('AWS_BUCKET', new S3\S3Client([

### Setting up the Local adapter

The local adapter allows simply management of files and folders to the local disk of the
The local adapter allows simple management of files and folders on the local disk of the
application using the same interface as the other adapters. This can be useful for local
development and testing, before switching to one of the enterprise adapters for production.

Expand Down Expand Up @@ -183,6 +183,14 @@ $storage->uploadFiles($_FILES);
$storage->uploadFile($file);
```

### List Files

You can list the files in the current location:

```php
$files = $storage->listFiles();
```

### Copy or move file from one remote location to another

```php
Expand Down Expand Up @@ -280,6 +288,14 @@ $storage->chdir('foo');
$storage->rmdir('foo');
```

### List Directories

You can list the directories in the current location:

```php
$dirs = $storage->listDirs();
```

[Top](#pop-storage)

Helper Methods
Expand Down

0 comments on commit 2747eed

Please sign in to comment.