mirror of
https://github.com/filegator/filegator.git
synced 2025-07-31 12:50:31 +02:00
docs upd
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
## Adapters
|
## Adapters
|
||||||
Different storage adapters are provided through the awesome [Flysystem](https://github.com/thephpleague/flysystem) library.
|
Different storage adapters are provided through the awesome [Flysystem](https://github.com/thephpleague/flysystem) library.
|
||||||
|
|
||||||
You can use local filesystem (default), FTP, S3, Dropbox and many others. Please check Flysystem for the exact setup required for each adapter.
|
You can use local filesystem (default), FTP, S3, Dropbox and many others. Please check Flysystem docs for the exact setup required for each adapter.
|
||||||
|
|
||||||
## Default Local Disk Adapter
|
## Default Local Disk Adapter
|
||||||
With default adapter you just need to configure where is you ```repository``` folder which will serve as root for everything else.
|
With default adapter you just need to configure where your ```repository``` folder is. This folder will serve as root for everything else.
|
||||||
|
|
||||||
```
|
```
|
||||||
'Filegator\Services\Storage\Filesystem' => [
|
'Filegator\Services\Storage\Filesystem' => [
|
||||||
@@ -53,6 +53,7 @@ See official [documentation](https://flysystem.thephpleague.com/docs/adapter/ftp
|
|||||||
|
|
||||||
## SFTP Adapter
|
## SFTP Adapter
|
||||||
You must require additional library ```composer require league/flysystem-sftp```.
|
You must require additional library ```composer require league/flysystem-sftp```.
|
||||||
|
|
||||||
See official [documentation](https://flysystem.thephpleague.com/docs/adapter/sftp/).
|
See official [documentation](https://flysystem.thephpleague.com/docs/adapter/sftp/).
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -79,6 +80,7 @@ See official [documentation](https://flysystem.thephpleague.com/docs/adapter/sft
|
|||||||
```
|
```
|
||||||
## Dropbox Adapter
|
## Dropbox Adapter
|
||||||
You must require additional library ```composer require spatie/flysystem-dropbox```.
|
You must require additional library ```composer require spatie/flysystem-dropbox```.
|
||||||
|
|
||||||
See official [documentation](https://flysystem.thephpleague.com/docs/adapter/dropbox/)
|
See official [documentation](https://flysystem.thephpleague.com/docs/adapter/dropbox/)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user