PHPackages                             karimgeiger/tesmart-api - 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. karimgeiger/tesmart-api

ActiveLibrary

karimgeiger/tesmart-api
=======================

PHP API-wrapper for tesmart KVM switches

v1.2.0(4y ago)5139MITPHPPHP ^8.0

Since Apr 3Pushed 4y ago1 watchersCompare

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

READMEChangelog (3)DependenciesVersions (4)Used By (0)

PHP API Wrapper for TESmart KVM Switches
========================================

[](#php-api-wrapper-for-tesmart-kvm-switches)

**Note:** This is **not** an official library, nor is it related to TESmart in any way.

This library implements the HDMI Switch (KVM) communication protocol by TESmart and provides a simple PHP wrapper to control the switch.

Tested with
-----------

[](#tested-with)

This library has only been tested with the 16x1 TESmart KVM switch.

Current features
----------------

[](#current-features)

Currently, this library supports the following actions:

DescriptionMethodget current active input`getInput(): int`switch to given input`setInput(int $input): void`set LED timeout settings`setLedTimeout(int $seconds): void`mute/unmute buzzer`setBuzzer(bool $enabled): void`Requirements
------------

[](#requirements)

The only requirements for this library are **PHP 8.0+** and composer.

Usage
-----

[](#usage)

See `example.php` for a simple CLI script to get and switch inputs.

1. Add to your project:

```
composer require karimgeiger/tesmart-api
```

2. Initialize the client in your project:

```
$client = new \TesmartApi\Client('192.168.1.10', 5000);
```

3. Use the client:

```
$client->getInput()
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

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 ~12 days

Total

3

Last Release

1473d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2329930?v=4)[Karim Geiger](/maintainers/KarimGeiger)[@KarimGeiger](https://github.com/KarimGeiger)

---

Top Contributors

[![KarimGeiger](https://avatars.githubusercontent.com/u/2329930?v=4)](https://github.com/KarimGeiger "KarimGeiger (5 commits)")

### Embed Badge

![Health badge](/badges/karimgeiger-tesmart-api/health.svg)

```
[![Health](https://phpackages.com/badges/karimgeiger-tesmart-api/health.svg)](https://phpackages.com/packages/karimgeiger-tesmart-api)
```

PHPackages © 2026

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