Registry / networking / league-flysystem-sftp

league-flysystem-sftp

JSON →
library3.28.0phppackagistunverified

SFTP filesystem adapter for Flysystem.

composer require league/flysystem-sftp
INSTALL
IMPORT
SIG · LEAGUE-FLYSYSTEM-S
L
league-flysystem-sftp
networkingphpv3.28.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SftpAdapter
use League\Flysystem\PhpseclibV3\SftpAdapter;

Create an SFTP adapter and write a file to a remote server.

use League\Flysystem\PhpseclibV3\SftpAdapter; use League\Flysystem\Filesystem; $adapter = new SftpAdapter([ 'host' => 'example.com', 'username' => 'user', 'password' => 'pass', ]); $filesystem = new Filesystem($adapter); $filesystem->write('remote.txt', 'content');
Debug
Known issues
breakingRequires phpseclib/phpseclib version 3.x.
fix
Ensure you have phpseclib/phpseclib ^3.0 installed.
affects: >=3.0.0
Upgrade
Version history
3.28.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
league-flysystem-sftp — pip install league-flysystem-sftp · libregistry