PHPackages                             yohang/oossh - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yohang/oossh

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yohang/oossh
============

Object Oriented SSH for PHP

0.1.2(13y ago)363.8k6MITPHP

Since Feb 22Pushed 13y ago1 watchersCompare

[ Source](https://github.com/frequence-web/OOSSH)[ Packagist](https://packagist.org/packages/yohang/oossh)[ Docs](https://github.com/frequence-web/OOSSH)[ RSS](/packages/yohang-oossh/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (4)Used By (0)

OOSSH - Object Oriented SSH for PHP
===================================

[](#oossh---object-oriented-ssh-for-php)

[![Build Status](https://camo.githubusercontent.com/8f59825b202b418ace159e8a3ab0866010cba32df84c87c0c72f179979389976/68747470733a2f2f7472617669732d63692e6f72672f6672657175656e63652d7765622f4f4f5353482e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/frequence-web/OOSSH)

OOSSH is an easy-to-use object encapsulation of the php SSH2 library.

Basic Usage
-----------

[](#basic-usage)

```
    $oossh = OOSSH\OOSSH::createAndLoad(
        array(
            'foo' => array(
                'host'     => 'foo.bar.baz',
                'username' => 'foo',
                'password' => 'baz',
            )
        )
    );

    $oossh->get('foo')->exec('uname -a', function($stdio, $stderr) {
        echo $stdio;
        if ($stderr) {
            throw new RuntimeException($stderr);
        }
    });
```

TODO
----

[](#todo)

- File handling (SCP)

Contribute
----------

[](#contribute)

Send me an email  ;)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96% 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 ~52 days

Total

3

Last Release

4775d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cebd97d261d234cc9e88fb337c8b54a36f0ef20862894be210ecc4ee43e917ac?d=identicon)[yohang](/maintainers/yohang)

---

Top Contributors

[![yohang](https://avatars.githubusercontent.com/u/608984?v=4)](https://github.com/yohang "yohang (48 commits)")[![benja-M-1](https://avatars.githubusercontent.com/u/212269?v=4)](https://github.com/benja-M-1 "benja-M-1 (1 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (1 commits)")

---

Tags

ssh

### Embed Badge

![Health badge](/badges/yohang-oossh/health.svg)

```
[![Health](https://phpackages.com/badges/yohang-oossh/health.svg)](https://phpackages.com/packages/yohang-oossh)
```

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.2k](/packages/friendsofphp-php-cs-fixer)[symfony/stimulus-bundle

Integration with your Symfony app &amp; Stimulus!

17417.5M294](/packages/symfony-stimulus-bundle)[illuminate/session

The Illuminate Session package.

9939.3M849](/packages/illuminate-session)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)

PHPackages © 2026

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