jailtonsc / sftp-laravel by jailtonsc

Integra o SFTP do filesystems com laravel
17,389
5
3
Package Data
Maintainer Username: jailtonsc
Maintainer Contact: jailton.dos.santos.cruz@gmail.com (Jailton S. C.)
Package Create Date: 2015-07-21
Package Last Update: 2015-07-21
Language: PHP
License: MIT
Last Refreshed: 2024-11-26 15:06:23
Package Statistics
Total Downloads: 17,389
Monthly Downloads: 35
Daily Downloads: 0
Total Stars: 5
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

##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'