PHPackages                             r3n0e0/ssh-config - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. r3n0e0/ssh-config

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

r3n0e0/ssh-config
=================

A ssh config parser for PHP

0.1.0(8y ago)2612[1 PRs](https://github.com/r3n0e0/ssh-config/pulls)MITPHPPHP &gt;=7.1

Since Jul 20Pushed 4y agoCompare

[ Source](https://github.com/r3n0e0/ssh-config)[ Packagist](https://packagist.org/packages/r3n0e0/ssh-config)[ RSS](/packages/r3n0e0-ssh-config/feed)WikiDiscussions master Synced 1mo ago

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

SSH-CONFIG
==========

[](#ssh-config)

A ssh config parser in PHP

[![Build Status](https://camo.githubusercontent.com/e18314edf5659cdc8279b039ead62dd5cf2f9759aa792b2c6aee409b2aeacfd1/68747470733a2f2f7472617669732d63692e6f72672f72336e3065302f7373682d636f6e6669672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/r3n0e0/ssh-config)

Example
-------

[](#example)

```
use SshConfig\Config;
$config = Config::parse(file_get_contents(''));
var_dump($config);

```

Result:```

array(2) {
  [0] =>
  array(2) {
    'Host' =>
    string(5) "hello"
    'Config' =>
    array(4) {
      'HostName' =>
      string(11) "example.com"
      'User' =>
      string(3) "wow"
      'Port' =>
      string(2) "22"
      'IdentityFile' =>
      string(19) "~/.ssh/id_rsa_hello"
    }
  }
  [1] =>
  array(2) {
    'Host' =>
    string(1) "*"
    'Config' =>
    array(3) {
      'PasswordAuthentication' =>
      string(2) "no"
      'ChallengeResponseAuthentication' =>
      string(2) "no"
      'HashKnownHosts' =>
      string(3) "yes"
    }
  }
}

```

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3215d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/19e6f080ce0f1bee5dcb71e56487addbc1be15579342111113d9217706797d73?d=identicon)[r3n0e0](/maintainers/r3n0e0)

---

Top Contributors

[![r3n0e0](https://avatars.githubusercontent.com/u/30016750?v=4)](https://github.com/r3n0e0 "r3n0e0 (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/r3n0e0-ssh-config/health.svg)

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

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M283](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M63](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M343](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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