league/flysystem-sftp-v3
Flysystem SFTP adapter using phpseclib v3. This is a sub-split of the Flysystem project; install via composer to add SFTP storage support to your Flysystem setup. For issues and PRs, use the main Flysystem repository and docs.
Architecture fit is strong for Laravel applications using Flysystem for storage abstraction, as this package is a certified adapter for Flysystem v3. Integration feasibility is high due to Laravel's native Flysystem support via config/filesystems.php, requiring only composer dependency and disk configuration. Technical risk is moderate: low dependents (0) and stars (61) suggest limited real-world adoption, though the League of PHP reputation and MIT license mitigate concerns. Key questions include: How does it handle SFTP server compatibility variations (e.g., OpenSSH vs. proprietary implementations)? What are the performance characteristics for high-throughput file operations? Are there known edge cases with key-based authentication or connection timeouts in phpseclib v3?
Stack fit is excellent—Laravel’s Storage facade seamlessly integrates with Flysystem adapters. Migration path requires upgrading to PHP 8.0+ and Flysystem v3 (if not already on Laravel 8+), followed by adding the package and configuring an SFTP disk in filesystems.php. Compatibility is strict: requires PHP 8.0.2+, Flysystem 3.0.14+, and phpseclib 3.0. Sequencing should prioritize PHP/Flysystem version validation first, then dependency installation, followed by testing authentication methods and connection stability before full deployment.
Maintenance burden is low due to League of PHP stewardship, but low dependents may indicate slower community-driven issue resolution. Support relies on the main Flysystem repository (thephpleague/flysystem), which has robust documentation but potentially slower response for adapter-specific edge cases. Scaling is constrained by SFTP protocol limitations (not designed for high-concurrency workloads), but the adapter itself adds negligible overhead. Failure modes include network timeouts, authentication failures, and server-side SFTP errors—requires application-level retry logic and monitoring. Ramp-up is minimal for teams familiar with Flysystem; new users will need to learn Flysystem’s adapter pattern and phpseclib configuration nuances, though official documentation provides clear examples.
How can I help you explore Laravel packages today?