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

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

tvelu77/php-serial
==================

Multi-platform convenience class to access the serial port from PHP for PHP 8+

v1.0(2y ago)137[2 issues](https://github.com/tvelu77/php-serial/issues)GPL-2.0-onlyPHPPHP &gt;=8.0

Since Jun 21Pushed 2y ago1 watchersCompare

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

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

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

[](#php-serial)

This project was created for a project at my work where a Symfony project needs to communicate to a machine through the COM port on Windows. After a long time, surfing the web, I found [PHP-Serial](https://github.com/Xowap/PHP-Serial) made by [Xowap](https://github.com/Xowap).
However, when I found out that the project wasn't longer maintened and the pull requests weren't accepted, I decided to share some fixes and improvements ! Especially, a Windows fix, a PHP 8+ compatibility and a cleaner code (I think so, I don't know, Java is better :P).

I really hope it will help someone !

> Of course, I am not the main author, all credits goes to [Xowap](https://github.com/Xowap).

Example
-------

[](#example)

```
