PHPackages                             ocolin/hyconext - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ocolin/hyconext

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ocolin/hyconext
===============

Basic interface for Hyconext switch

1.10(7mo ago)016MITPHPPHP ^8.2

Since Jul 8Pushed 7mo agoCompare

[ Source](https://github.com/ocolin/hyconext)[ Packagist](https://packagist.org/packages/ocolin/hyconext)[ RSS](/packages/ocolin-hyconext/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (12)Used By (0)

Hyconext
========

[](#hyconext)

This is a little plugin to handle sending commands to a Hyconext switch. Regular ssh commands don't work, but expect does. Instead of requiring a PHP expect extension, it relies on the expect binary.

Requirements
------------

[](#requirements)

Must have expect binary on host system.

Setup
-----

[](#setup)

Constructor takes 4 arguments:

- $host - Name or IP of the Hyconext device.
- $pass - Password for Hyconext device.
- $user - Username of Hyconext device. Defaults to 'admin'.
- $path - Optional path to expect binary. Defaults to /usr/bin/expect. Should only be the path to expect and not the binary itself. If another binary is supplied only the path will be used.

### Example:

[](#example)

```
$hyconextApi = Ocolin\Hyconext\API(
    host: '10.10.10.10',
    user: 'admin',
    pass: $_ENV['password']
);
```

Calls
-----

[](#calls)

### Show Mac-Address

[](#show-mac-address)

This command returns a list of the MAC table.

#### Example

[](#example-1)

```
$output = $hyconextApi->show_Mac_Address();
```

This will return an object containing the property 'totals' with the totals of the type of addresses, and the property 'list' which will contain a list of objects representing the MAC addresses from the MAC table.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance62

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~8 days

Recently: every ~1 days

Total

11

Last Release

229d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e97ac0aa452b872ddc3f7f4c56c83852574a27bb74622f8c054d11ca20008fc9?d=identicon)[Ocolin](/maintainers/Ocolin)

---

Top Contributors

[![ocolin](https://avatars.githubusercontent.com/u/8870196?v=4)](https://github.com/ocolin "ocolin (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ocolin-hyconext/health.svg)

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

PHPackages © 2026

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