alveum / laravel-sftp
Integrate SFTP into Laravel's filesystem.
Installs: 24 351
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 4
Forks: 3
Open Issues: 0
Requires
- illuminate/support: ^6.0|^7.0|^8.0
- thomasgenster/flysystem-sftp: ^1.0
This package is not auto-updated.
Last update: 2021-09-07 13:38:54 UTC
README
Integrate SFTP into Laravel's filesystem.
Usage
- Add
Alveum\SFTP\SFTPServiceProvider::class,
to your providers array inapp.php
- Add the following configuration to your storage config file:
'sftp' => [
'driver' => 'sftp',
'host' => env('SFTP_HOST'),
'port' => env('SFTP_PORT', 22),
'username' => env('SFTP_USERNAME'),
'password' => env('SFTP_PASSWORD'),
'private_key' => env('SFTP_PRIVATE_KEY'),
'root' => env('SFTP_ROOT', '/'),
'timeout' => 10,
],