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

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

blamebutton/php-serial
======================

Multi-platform serial port access convenience class

v1.0.0-rc1(7y ago)06621GPL-2.0-onlyPHP

Since Jan 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/BlameButton/PHP-Serial)[ Packagist](https://packagist.org/packages/blamebutton/php-serial)[ RSS](/packages/blamebutton-php-serial/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (1)

PHP Serial
==========

[](#php-serial)

Install
-------

[](#install)

```
composer require blamebutton/php-serial
```

PHP Serial was written at a time where I did not know any other language than PHP and I started to get seriously bored with its abilities.

I somehow got hold of a « Citizen C2202-PD » point-of-sale display, and I wanted to play around with it. I also managed to get the documentation of it, and created a convenience class to access the serial port though the Linux file.

Afterwards, I posted it to [PHP Classes](http://www.phpclasses.org/package/3679-PHP-Communicate-with-a-serial-port.html), and this probably is what brought it any visibility.

Example
-------

[](#example)

```
