nathan818 / phpuc-net-sockets
This package is abandoned and no longer maintained.
No replacement package was suggested.
A socket library for PHP inspired by the Java socket API.
1.0.0
2016-10-19 21:06 UTC
Requires
- php: >=7.0.0
- nathan818/phpuc-io-streams: ^1.0
Requires (Dev)
- phpunit/phpunit: 5.6.1
This package is not auto-updated.
Last update: 2023-07-08 20:10:05 UTC
README
A socket library for PHP which provide a more convenient way to manipulate sockets.
I make this library for personal projects and tests, it will only contains the items I need. It will certainly never be completed.
Installation
This library is published on packagist.org, so you can add it to your composer.json file for an easy installation:
composer require nathan818/phpuc-net-sockets
Features
TODO (In development).
Examples
TODO.
Contribution
- Follow PSR-2 coding style (https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)
- Follow java-style API
- Do unit tests
- Document public and non-overwritten functions
Credits
Inspired by Java API.