| Package Data | |
|---|---|
| Maintainer Username: | thomasruiz |
| Package Create Date: | 2017-06-09 |
| Package Last Update: | 2018-10-01 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-23 15:05:12 |
| Package Statistics | |
|---|---|
| Total Downloads: | 255,849 |
| Monthly Downloads: | 761 |
| Daily Downloads: | 12 |
| Total Stars: | 34 |
| Total Watchers: | 15 |
| Total Forks: | 7 |
| Total Open Issues: | 0 |
: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.
This package provide a service provider to add the "sftp" driver to Laravel Storage.
Require this package with composer using the following command:
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.
Neoxia\Filesystem\SftpServiceProvider::class,
To configure a new Laravel storage disk on SFTP, provide a configuration like this one in config/filesystems.php
'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'),
],
],