There is no license information available for the latest version (1.0.0) of this package.

PHP7 library to parse cisco cli to php object

1.0.0 2019-12-04 21:01 UTC

This package is auto-updated.

Last update: 2020-08-08 16:32:47 UTC


Cisco Configuration Parser

Cisco configuration 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\CiscoParse(); $cp->input_data($SHRUN,"run"); $cp->input_data($SHINT,"interfaces"); $cp->input_data($SHVER,"version"); $cp->input_data($SHINV,"inventory"); //$cp->update(); This is ran automatically when you input_data. print_r($cp->output);