PHPackages                             epiecs/phpmiko - 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. epiecs/phpmiko

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

epiecs/phpmiko
==============

Netmiko alternative written in PHP.

v1.1.3(4y ago)527221MITPHPPHP &gt;=7.1CI failing

Since Aug 2Pushed 2y ago2 watchersCompare

[ Source](https://github.com/epiecs/phpmiko)[ Packagist](https://packagist.org/packages/epiecs/phpmiko)[ Docs](https://github.com/epiecs/phpmiko)[ RSS](/packages/epiecs-phpmiko/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (11)Used By (1)

PhpMiko
=======

[](#phpmiko)

&lt;3 NetMiko but I'm a php developer. So I've decided to build a php alternative

Mad respect to [Kirk Byers](https://github.com/ktbyers/netmiko) for creating netmiko and being a huge inspiration to this project.

To hit the ground running check out the [Quickstart example](#quickstart-example).

Requires:
---------

[](#requires)

- Php &gt;= 7.1

Installation:
-------------

[](#installation)

```
composer require epiecs/phpmiko
```

Supported devices
-----------------

[](#supported-devices)

### Implemented

[](#implemented)

- Aruba
- Cisco ios
- Cisco nx-os
- HPE Comware
- Juniper Junos

### Planned

[](#planned)

- Avaya
- Linux
- Vyos
- Checkpoint
- ...

Supported protocols
-------------------

[](#supported-protocols)

- ssh
- telnet

Contents
--------

[](#contents)

- [PhpMiko](#phpmiko)
    - [Requires:](#requires)
    - [Installation:](#installation)
    - [Supported devices](#supported-devices)
        - [Implemented](#implemented)
        - [Planned](#planned)
    - [Supported protocols](#supported-protocols)
    - [Contents](#contents)
    - [Examples:](#examples)
        - [Quickstart example](#quickstart-example)
        - [Connecting to a device](#connecting-to-a-device)
        - [Sending commands](#sending-commands)
            - [Sending one command as string](#sending-one-command-as-string)
            - [Sending one command as an array](#sending-one-command-as-an-array)
            - [Sending multiple commands](#sending-multiple-commands)
        - [Output](#output)
    - [Command types](#command-types)
        - [cli](#cli)
        - [operation](#operation)
        - [configure](#configure)
    - [Device types and command mapping](#device-types-and-command-mapping)
    - [Cleaning up and debugging](#cleaning-up-and-debugging)
        - [Setting raw mode](#setting-raw-mode)
        - [Closing the connection](#closing-the-connection)
    - [Suggestions](#suggestions)
    - [Contributions and thanks](#contributions-and-thanks)

Examples:
---------

[](#examples)

### Quickstart example

[](#quickstart-example)

```
