PHPackages                             ppelisset/termios - 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. ppelisset/termios

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

ppelisset/termios
=================

Port of Unix Termios API with PHP FFI

v0.1.2(3y ago)263711MITPHPPHP &gt;=8.1

Since Jul 17Pushed 3y ago1 watchersCompare

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

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

php-termios
===========

[](#php-termios)

This package is a basic port of Termios Unix API for PHP using FFI. It append some wrapper to Termios API functions and provides API constants for Linux and Darwin (MacOS).

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

[](#installation)

php-termios require PHP8.1 and php-ffi enabled. To install this package, use composer to require package `ppelisset/termios`.

Documentation
-------------

[](#documentation)

`Termios\Termios::tcgetattr` - Get the parameters associated with the terminal

`Termios\Termios::tcsetattr` - Set the parameters associated with the terminal

`Termios\Termios::tcflush` - Flushes input or output on a terminal

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

1372d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25f558796d2722ade5f9ea0e5d79f9f2885bd63c348e657de59152093b9ad297?d=identicon)[ppelisset](/maintainers/ppelisset)

---

Top Contributors

[![ppelisset](https://avatars.githubusercontent.com/u/954371?v=4)](https://github.com/ppelisset "ppelisset (8 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/ppelisset-termios/health.svg)

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

###  Alternatives

[florianwolters/component-util-singleton

The Singleton (and Registry of Singletons a.k.a. Multiton) design pattern as a PHP component.

13175.8k5](/packages/florianwolters-component-util-singleton)[stechstudio/laravel-record

What if Laravel's Collection and Model classes had a baby?

2313.7k2](/packages/stechstudio-laravel-record)[paysera/lib-php-cs-fixer-config

PHP CS Fixer config for Paysera conventions

1034.4k5](/packages/paysera-lib-php-cs-fixer-config)[meklis/switcher-core

SNMP switcher core module

181.6k](/packages/meklis-switcher-core)

PHPackages © 2026

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