To run the examples you must first initialize composer within the root of your application:
composer install
To get a list of examples available, run the following commands:
cd vendor/lifo/php-daemon/examples
./example.php
To run an example:
./example.php ExampleName
For Instance:
./example.php HelloWorld