Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Alveum/laravel-sftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-sftp

Integrate SFTP into Laravel's filesystem.

Usage

  • Add Alveum\SFTP\SFTPServiceProvider::class, to your providers array in app.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,
],