jailtonsc / sftp-laravel
Integra o SFTP do filesystems com laravel
Installs: 17 419
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.5.9
- league/flysystem-sftp: ^1.0
This package is auto-updated.
Last update: 2024-12-11 03:52:41 UTC
README
##README
Provaider que integra o SFTP ao strorage do laravel 5.*
##Composer Instalação
composer require jailtonsc/sftp-laravel
##Integração com o Laravel
No arquivo config/app.php em providers insira no provaider
SFTP\SFTPServiceProvider::class
E no arquivo config/filesystems.php insira
'sftp' => [ 'driver' => 'sftp', 'host' => 'example.com', 'port' => 21, 'username' => 'username', 'password' => 'password', 'privateKey' => 'path/to/or/contents/of/privatekey', 'root' => '/path/to/root', 'timeout' => 10, ],
Munde o
'default' => 'sftp'