nathan818 / phpuc-net-sockets
A socket library for PHP inspired by the Java socket API.
Installs: 371
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/nathan818/phpuc-net-sockets
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.