PHPackages                             sputinyk/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. sputinyk/oossh

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

sputinyk/oossh
==============

Object Oriented SSH for PHP

0.1.2(13y ago)011MITPHP

Since Feb 22Pushed 9y ago1 watchersCompare

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

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

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.6% 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

4771d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/134008?v=4)[José Neto](/maintainers/netojose)[@netojose](https://github.com/netojose)

---

Top Contributors

[![yohang](https://avatars.githubusercontent.com/u/608984?v=4)](https://github.com/yohang "yohang (48 commits)")[![netojose](https://avatars.githubusercontent.com/u/134008?v=4)](https://github.com/netojose "netojose (3 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/sputinyk-oossh/health.svg)

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

###  Alternatives

[composer/composer

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

29.5k193.1M3.0k](/packages/composer-composer)[symfony/stimulus-bundle

Integration with your Symfony app &amp; Stimulus!

17316.3M265](/packages/symfony-stimulus-bundle)[illuminate/session

The Illuminate Session package.

9938.5M823](/packages/illuminate-session)[friendsoftypo3/content-blocks

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

101466.4k45](/packages/friendsoftypo3-content-blocks)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5275.7M110](/packages/symplify-monorepo-builder)[civicrm/civicrm-core

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

751284.3k37](/packages/civicrm-civicrm-core)

PHPackages © 2026

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