PHPackages                             shanemcc/phprouter - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. shanemcc/phprouter

ActiveProject[HTTP &amp; Networking](/categories/http)

shanemcc/phprouter
==================

PHP Scripts for interacting with network devices

92.1k↓50%5[6 issues](https://github.com/ShaneMcC/phprouter/issues)PHPCI failing

Since Mar 24Pushed 1mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

PHPRouter
=========

[](#phprouter)

Provides a library designed to allow reading/writing data to/from multiple types of network-device via PHP to aid in automation.

It was originally designed just for reading data from routers in scripts but evolved to support other device types and usages.

Supported Devices
-----------------

[](#supported-devices)

Device TypeTelnet?SSH?HP Procurve✅✅Cisco IOS✅✅Cisco IOSXR✅✅ArborOS❌✅APC PDU✅❌Currently, support is limited to what I have access to. If you want support for something that isn't, then please feel free to submit a pull-request, or provide access to the device in question. (Read-Only should be sufficient in most cases.)

Usage
-----

[](#usage)

Usage is simple, clone the repo into a subfolder, run `git submodule update --init` to pull in the submodules and then `include('phprouter/PHPRouter.php');` and begin using.

Example usage:

```
