PHPackages                             hexpang/laravel-ssh - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. hexpang/laravel-ssh

ActiveLibrary[HTTP &amp; Networking](/categories/http)

hexpang/laravel-ssh
===================

SSH Client For Laravel.

v0.4.1(9y ago)07.2k1MITPHPPHP &gt;=5.3.0

Since Aug 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/HexPang/laravel-ssh)[ Packagist](https://packagist.org/packages/hexpang/laravel-ssh)[ Docs](https://github.com/hexpang/laravel-ssh)[ RSS](/packages/hexpang-laravel-ssh/feed)WikiDiscussions v0.4 Synced today

READMEChangelog (8)Dependencies (3)Versions (9)Used By (0)

SSH Client For Laravel
======================

[](#ssh-client-for-laravel)

SSH Client for laravel.

v0.5 moved to [ssh-client](https://github.com/HexPang/ssh-client)
-----------------------------------------------------------------

[](#v05-moved-to-ssh-client)

Build Status\[[![Build Status](https://camo.githubusercontent.com/6439043f17bdbbdcfe28dd0693598c9b5677588aab4e8fec1d98e2e279b0e70a/68747470733a2f2f636972636c6563692e636f6d2f67682f48657850616e672f6c61726176656c2d7373682e706e673f636972636c652d746f6b656e3d37623039623936306362623164646666313763386439336363663764623434383334353639353134)](https://camo.githubusercontent.com/6439043f17bdbbdcfe28dd0693598c9b5677588aab4e8fec1d98e2e279b0e70a/68747470733a2f2f636972636c6563692e636f6d2f67682f48657850616e672f6c61726176656c2d7373682e706e673f636972636c652d746f6b656e3d37623039623936306362623164646666313763386439336363663764623434383334353639353134)\]v0.4 changed namespace and file directory

If got error about class not found,try

> *composer dump-autoload*

Install With Composer
---------------------

[](#install-with-composer)

> composer require hexpang/laravel-ssh

Open **config/app.php** add for **aliases**

> 'SSH' =&gt; hexpang\\Client\\SSH\\SSHClient::class,

Usage
-----

[](#usage)

```
use SSH;
$ssh = new SSH($host,$port,$username,$password);

```

Method
------

[](#method)

MethodDescriptionUsagePingCheck port$ssh-&gt;ping($host,$port,$timeOut)ConnectConnect to server$ssh-&gt;Connect()AuthorizeAuthorize$ssh-&gt;Authorize()DisconnectDisconnect$ssh-&gt;Disconnect()ExecuteExecute command and response result for an array\[ Response,Error \]$ssh-&gt;Execute($command)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

8

Last Release

3599d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b09b05537f987fc8603680e1b6b8bcc023e47ff4d0b3df2445f9e82df4af4c1?d=identicon)[HexPang](/maintainers/HexPang)

---

Top Contributors

[![HexPang](https://avatars.githubusercontent.com/u/1132194?v=4)](https://github.com/HexPang "HexPang (6 commits)")

---

Tags

laravelsshssh-client

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hexpang-laravel-ssh/health.svg)

```
[![Health](https://phpackages.com/badges/hexpang-laravel-ssh/health.svg)](https://phpackages.com/packages/hexpang-laravel-ssh)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.6k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k55.4M8.4k](/packages/larastan-larastan)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
