A PHP extension for asynchronous networking.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
stubs
tests
.travis.yml
LICENSE
README.md
config.m4

README.md

php-asio

Travis-CI MIT license

1. About

This extension is, to some extent, a PHP wrapper for the Boost.Asio library, hence the name php-asio.

It provides a high-performance event-driven model for networking, which makes asynchronous and concurrency simple.

Now php-asio is in development, do not use it in production.

Bug reports and pull requests are welcome.

2. Documentation

See the Wiki page for documentation.

Signatures of classes and functions can be found within stubs/ directory, with PHPDoc.

There are also some test cases in the tests/ directory.

3. TODO list

  • Multi-threading support. (Priority: high)

  • Fix memory leak (once in every 9,998 Zend objects). (Priority: medium)

  • Add support for serial ports. (Priority: low)

  • Add socket onReadable() onWritable() onError() methods (with Boost version 1.66 and above). (Priority: low)

  • Add support for Windows. (Priority: low)