PHPackages                             miyahan/telnet - 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. miyahan/telnet

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

miyahan/telnet
==============

Telnet client in php

1.1.2(10y ago)517.4k—0%10MITPHPPHP &gt;=5.6.0

Since Oct 29Pushed 2y ago3 watchersCompare

[ Source](https://github.com/miyahan/Telnet)[ Packagist](https://packagist.org/packages/miyahan/telnet)[ RSS](/packages/miyahan-telnet/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (7)Used By (0)

Telnet
======

[](#telnet)

Telnet client written in php

Description
-----------

[](#description)

- Telnet to Linux/UNIX servers
- Telnet to network routeres (Cisco IOS , Juniper JUNOS)

Requirement
-----------

[](#requirement)

- PHP 5.6 or later (PHP 7.0 ready!)

Usage
-----

[](#usage)

### Telnet to Cisco IOS router

[](#telnet-to-cisco-ios-router)

```
try {
    $telnet = new \miyahan\network\Telnet('10.0.0.1');
    $telnet->connect();
    $telnet->login('username', 'password', 'ios');
    $telnet->exec('terminal length 0');
    $telnet->exec('enable'."\r\n".'secret');
    $telnet->setPrompt('router#');

    $result = $telnet->exec('show env all');
    echo $result."\n";
} catch (Exception $e) {
    echo $e->getMessage();
}
```

Installation
------------

[](#installation)

Use composer ()

Author
------

[](#author)

- Bestnetwork &lt;"&gt;
- Dalibor Andzakovic
- Matthias Blaser
- Christian Hammers
- Frederik Sauer
- Kouhei Miyasaka

License
-------

[](#license)

MIT

###  Health Score

36

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 82.1% 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.

###  Release Activity

Cadence

Every ~155 days

Recently: every ~191 days

Total

6

Last Release

3750d ago

PHP version history (2 changes)1.0.0.x-devPHP &gt;=5.3.0

1.1.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a053fe39fb779e666a31020a6786f0b11f5c5629242d73f637f061f3394074e?d=identicon)[miyahan](/maintainers/miyahan)

---

Top Contributors

[![bigfoot90](https://avatars.githubusercontent.com/u/4598274?v=4)](https://github.com/bigfoot90 "bigfoot90 (23 commits)")[![miyahan](https://avatars.githubusercontent.com/u/11690370?v=4)](https://github.com/miyahan "miyahan (2 commits)")[![bn-server](https://avatars.githubusercontent.com/u/12021107?v=4)](https://github.com/bn-server "bn-server (1 commits)")[![meklis](https://avatars.githubusercontent.com/u/16430599?v=4)](https://github.com/meklis "meklis (1 commits)")[![MyIgel](https://avatars.githubusercontent.com/u/1448057?v=4)](https://github.com/MyIgel "MyIgel (1 commits)")

---

Tags

routertelnetciscojuniper

### Embed Badge

![Health badge](/badges/miyahan-telnet/health.svg)

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

###  Alternatives

[symfony/routing

Maps an HTTP request to a set of configuration variables

7.6k775.6M1.6k](/packages/symfony-routing)[nikic/fast-route

Fast request router for PHP

5.3k90.8M606](/packages/nikic-fast-route)[altorouter/altorouter

A lightning fast router for PHP

1.3k3.4M64](/packages/altorouter-altorouter)[league/route

Fast routing and dispatch component including PSR-15 middleware, built on top of FastRoute.

8643.0M104](/packages/league-route)[aura/router

Powerful, flexible web routing for PSR-7 requests.

5231.5M62](/packages/aura-router)[coffeecode/router

A classic CoffeeCode Router is easy, fast and extremely uncomplicated. Create and manage your routes in minutes!

665109.4k5](/packages/coffeecode-router)

PHPackages © 2026

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