PHPackages                             ppelisset/php-serial - 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/php-serial

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

ppelisset/php-serial
====================

Serial port access for Unix system in PHP

v0.1.0(3y ago)0610MITPHPPHP &gt;=8.1

Since Aug 12Pushed 3y ago2 watchersCompare

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

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

php-serial
==========

[](#php-serial)

This package is a test to port base of pyserial in pure PHP with FFI. It append a Serial object to access to a serial port on Linux/Darwin (MacOS).

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

[](#installation)

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

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

[](#documentation)

`PHPSerial\Serial::__construct()` - Create a serial object with port configuration

`PHPSerial\Serial::open` - Open port and configure system to access to him

`PHPSerial\Serial::isOpen` - Check port is currently open

`PHPSerial\Serial::read` - Read a max of `$count` byte on serial port (less if not enough bytes is available). Default value is `0`, to read all available bytes.

`PHPSerial\Serial::write` - Write data on serial port

`PHPSerial\Serial::close` - Close port access

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

1375d 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 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[lasserafn/php-initials

A package to generate initials in PHP

414.7M3](/packages/lasserafn-php-initials)

PHPackages © 2026

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