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 3w 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 31% 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

3260d 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

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M41](/packages/mck89-peast)[karriere/json-decoder

JsonDecoder implementation that allows you to convert your JSON data into PHP class objects

140439.4k12](/packages/karriere-json-decoder)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9642.0k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

46143.1k6](/packages/jstewmc-rtf)[json-mapper/laravel-package

The JsonMapper package for Laravel

25188.9k3](/packages/json-mapper-laravel-package)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)

PHPackages © 2026

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