Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bnoordhuis/phode

we put the async in php
https://github.com/bnoordhuis/phode

Last synced: about 1 month ago
JSON representation

we put the async in php

Awesome Lists containing this project

README

        

# phode

php + libuv = win

## status

Very alpha. And not in the dominating male / leader of the pack sense.

## how to build

Make sure you have the PHP 5.4 header files installed somewhere.

$ cp local.gypi.example local.gypi
$ vi local.gypi # update include paths
$ tools/gyp/gyp -Dlibrary=shared_library
$ make

Add the following line to your `php.ini`.

extension = /path/to/phode/out/Debug/obj.target/libphode.so

Now try out some of the examples in the `test/` directory.

$ php test/test-tcp-ping-pong.php
Segmentation fault.

The beauty of open source!