PHPackages                             ohtarr/parser - 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. ohtarr/parser

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

ohtarr/parser
=============

PHP7 library to parse device cli to php object

0141PHP

Since May 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ohtarr/parser)[ Packagist](https://packagist.org/packages/ohtarr/parser)[ RSS](/packages/ohtarr-parser/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Parser
======

[](#parser)

Parsing Library to parse text output from CLI sessions.

Parser designed to be simple to use. Simply feed it specific show commands and it will parse and output usable results.

The "input\_data" method takes raw SHOW commands from cisco devices and stores them in the INPUT property. The "update" method triggers any and all parsing and stores results in the "output" property for use.

example use: $cp = new \\ohtarr\\Parser(); $cp-&gt;input\_data($SHRUN,"run"); $cp-&gt;input\_data($SHINT,"interfaces"); $cp-&gt;input\_data($SHVER,"version"); $cp-&gt;input\_data($SHINV,"inventory"); //$cp-&gt;update(); This is ran automatically when you input\_data. print\_r($cp-&gt;output);

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e68b8e9e3ec62502756331d84a2fea0340fabe3f84688145a80f1bb333652f5?d=identicon)[ohtarr](/maintainers/ohtarr)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ohtarr-parser/health.svg)

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

###  Alternatives

[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.

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

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

46164.0k6](/packages/jstewmc-rtf)[gajus/paggern

Pattern interpreter for generating random strings.

3046.0k1](/packages/gajus-paggern)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.4k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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