Weave 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

Remote Laravel Package

phanan/remote

Run Artisan commands on remote servers over SSH directly from your local Laravel app. Configure connections, then execute and inspect them as if they were local—handy for deployment, maintenance, and managing multiple environments. No extra tooling required.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy on a thin integration layer. This package is essentially a config file plus a facade over phpseclib's SFTP/SSH2 client. The real decision it informs is whether a remote-file capability is worth an external dependency at all, or whether it's a ~100-line internal service class. Spoiler: for this surface area, it's the latter.
  • Feature scoping for "remote transfer" asks. When a stakeholder requests asset publishing to a CDN origin, nightly DB dumps to an offsite backup host, pulling vendor drop files from a partner's SFTP, or shipping logs to a central collector — this package defines the minimum viable shape of that feature: named connections in config, Remote::connection('x')->put(...) ergonomics, no queue/retry/observability.
  • Roadmap placement of SSH command execution. Distinguishes "we need to move files" (well-served by Laravel's native Storage/SFTP disk) from "we need to run commands on another host" (poorly served natively; requires an explicit decision — symfony/process + key management, or a maintained SSH client).
  • Upgrade-path planning. Because it targets Laravel 5 and is archived, it's a useful forcing function: any roadmap item that would have used this package should be re-scoped against Storage::disk('sftp') and league/flysystem-sftp-v3 first.
  • Deprecation and ownership decisions. If the package is already in the codebase, this assessment supports the "fork, vendor, or replace" call — and it's a small enough surface that replacement is cheaper than adoption.
  • Not a strategic bet. With 28 stars, an archived flag, and a 0.315 score, it does not clear the bar for anything customer-facing, compliance-relevant, or on a critical path.

When to Consider This Package

Consider it only as a reference implementation, not as an installed dependency:

  • You're on Laravel 5.x with PHP 5.6/7.0 pinned and cannot move — the package's assumptions match that world.
  • You need a config-driven multi-connection SFTP facade and want a working example of the ergonomics before writing your own.
  • The use case is internal tooling with low blast radius: a one-off migration script, an admin-triggered export, a throwaway sync job.
  • Your security posture is simple: static credentials in .env, one or two known hosts, no key rotation, no audit trail requirement.

Look elsewhere — or build natively — when:

  • You're on Laravel 9+: use Storage::disk('sftp') with league/flysystem-sftp-v3. It's maintained, tested, and already in your dependency tree. There is no gap this package fills.
  • Security and patching matter. Archived means no CVE response. The underlying phpseclib version it pins will drift out of support, and you'll inherit that risk silently.
  • You need PHP 8.1+, typed APIs, or compatibility with modern Laravel's service container conventions.
  • You need retries, timeouts, connection reuse, structured logging, or metrics around transfers — none of which this provides.
  • You need SFTP only, no shell. Flysystem is the narrower, safer tool; do not grant shell access to move a file.
  • Compliance (SOC 2, HIPAA, PCI) applies to the data in transit. An unmaintained wrapper is an audit finding waiting to happen.
  • You need key-based auth with rotation, jump hosts, or per-tenant credentials — this package's config model won't scale to that.

How to Pitch It (Stakeholders)

To executives: This is a small, archived Laravel 5 utility for SFTP/SSH. It's inexpensive to replicate and expensive to own — the code is trivial, but the maintenance burden is permanent and the security surface is unpatched. Recommendation: do not take it as a dependency. Use it as a pattern reference and implement the equivalent in-house in roughly a day, on top of Laravel's maintained filesystem layer. Net effect: same feature, no new supply-chain risk, no upgrade blocker.

To engineering: It's a facade + config wrapper over phpseclib. On modern Laravel, Storage::disk('sftp') already covers the file-transfer case with a maintained adapter; the only genuine gap is remote command execution, which we should treat as a separate, explicitly-scoped decision. If we have existing call sites, vendor the config shape, swap the transport to Flysystem, and delete the dependency. Budget: half a day to a day, plus a test that exercises an unreachable host.

Bottom line: the opportunity here isn't the package — it's the reminder that "remote file transfer" is a solved problem in the framework, and the correct product decision is to spend nothing on it.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings