Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Flysystem Sftp Laravel Package

league/flysystem-sftp

Deprecated since Flysystem 3.0; use flysystem-sftp-v3 instead. Provides an SFTP adapter for Flysystem using phpseclib2. This is a sub-split—issues and PRs belong in the main Flysystem repo. Install via composer require league/flysystem-sftp.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • File Storage Expansion: Enables secure, scalable SFTP-based file storage for applications requiring remote server access (e.g., legacy systems, compliance-heavy environments, or third-party integrations).
  • Hybrid Storage Strategy: Allows seamless integration of SFTP alongside cloud (S3, GCS) or local storage via Flysystem’s unified API, reducing vendor lock-in.
  • Compliance & Security: Supports SFTP for regulated industries (e.g., healthcare, finance) where encrypted file transfers are mandatory.
  • Cost Efficiency: Leverages existing SFTP infrastructure (e.g., internal servers, partner systems) to avoid cloud storage costs for specific use cases.
  • Roadmap Flexibility: "Build vs. Buy" decision—avoids reinventing SFTP integration while maintaining control over file operations (e.g., custom metadata, retries, or logging).
  • Use Cases:
    • Bulk file transfers between internal systems.
    • Backup solutions requiring SFTP endpoints.
    • Legacy system migrations with minimal code changes.

When to Consider This Package

  • Adopt if:
    • Your app needs SFTP access (e.g., connecting to a partner’s server, internal SFTP gateways).
    • You’re already using Flysystem (or plan to) for multi-storage support.
    • SFTP is a hard requirement (e.g., compliance, existing infrastructure).
    • You need lightweight, maintained SFTP integration without heavy dependencies.
  • Look Elsewhere if:
    • Your use case requires advanced SFTP features (e.g., SSH key rotation, complex authentication) not covered by the adapter.
    • You need high-performance transfers (consider raw PHP phpseclib or ssh2 extensions).
    • Your team lacks PHP/Laravel expertise to debug SFTP-specific issues.
    • The target SFTP server has unusual protocols (e.g., non-standard ports, custom encryption).

How to Pitch It (Stakeholders)

For Executives: "This package lets us securely integrate with SFTP-based systems—like our partner’s legacy servers or internal backups—without building custom solutions. It’s a low-risk way to expand storage options while keeping costs down by reusing existing infrastructure. Since it works with our current Flysystem setup, we avoid vendor lock-in and can easily switch providers later."

For Engineering: *"The league/flysystem-sftp adapter gives us a battle-tested, Flysystem-compatible way to handle SFTP transfers. It’s lightweight, well-documented, and integrates cleanly with Laravel’s storage system. We can use it for:

  • Bulk file imports/exports to SFTP servers.
  • Hybrid storage (e.g., SFTP for backups, S3 for active files).
  • Legacy system integrations with minimal boilerplate. Tradeoff: It’s not a full SSH library, so complex auth or performance tuning might need custom code—but that’s rare for most use cases."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon
itsemon245/lamet
baks-dev/dashboard
amoifr/pickle-panther-bundle
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle