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

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