2017 © Pedro Peláez
 

library laravel-sftp

SFTP filesystem service provider for Laravel

image

neoxia/laravel-sftp

SFTP filesystem service provider for Laravel

  • Wednesday, March 7, 2018
  • by thomasruiz
  • Repository
  • 12 Watchers
  • 17 Stars
  • 31,928 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 4 Versions
  • 33 % Grown

The README.md

:warning: The SFTP service provider is present natively in Laravel since v5.6.7. You should avoid using this package if you are in a version of Laravel higher than this one., (*1)

Latest Stable Version, (*2)

Laravel SFTP

This package provide a service provider to add the "sftp" driver to Laravel Storage., (*3)

Installation

Require this package with composer using the following command:, (*4)

composer require neoxia/laravel-sftp

As of Laravel 5.5, this package will be automatically discovered and registered. For older version of Laravel, add the service provider in config/app.php., (*5)

Neoxia\Filesystem\SftpServiceProvider::class,

Configuration

To configure a new Laravel storage disk on SFTP, provide a configuration like this one in config/filesystems.php, (*6)

'disks' => [

    'sftp' => [
        'driver'     => 'sftp',
        'host'       => env('SFTP_HOST', ''),
        'port'       => env('SFTP_PORT', '21'),
        'username'   => env('SFTP_USERNAME', ''),
        'password'   => env('SFTP_PASSWORD', ''),
        'privateKey' => env('SFTP_PRIVATE_KEY_PATH', ''),
        'root'       => env('SFTP_ROOT', ''),
        'timeout'    => env('SFTP_TIMEOUT', '10'),
    ],

],

The Versions

07/03 2018

dev-master

9999999-dev

SFTP filesystem service provider for Laravel

  Sources   Download

MIT

The Requires

 

23/02 2018
13/10 2017

v1.0.1

1.0.1.0

SFTP filesystem service provider for Laravel

  Sources   Download

MIT

The Requires

 

09/06 2017

v1.0.0

1.0.0.0

SFTP filesystem service provider for Laravel

  Sources   Download

MIT

The Requires