Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
we put the async in php
C PHP
branch: master
Failed to load latest commit information.
deps
src uv: upgrade to 8f617b9
tools/gyp
.gitignore Update .gitignore
README.md add README
common.gypi build: unbreak build on unix
gen.bat Clean up build system files
local.gypi.example build: add local.gypi example
phode.gyp Clean up build system files
test.php work on tcp->listen()

README.md

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!

Something went wrong with that request. Please try again.