pilat / daemonizer
This package is abandoned and no longer maintained.
No replacement package was suggested.
PHP Daemonizer
1.0.3
2014-10-27 18:21 UTC
Requires
- php: >=5.4.0
- ext-pcntl: *
- mtdowling/cron-expression: 1.0.*
- react/react: 0.4.*
- symfony/console: 2.5.5
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2020-01-20 03:47:23 UTC
README
Provide simple way for creating long-running php daemons.
How it use:
- Your class must implement "DaemonizerInterface" interface.
- Create cli-daemonizer.php file in config or root directory
- Start daemon, use command ./bin/daemonizer start
cli-daemonizer.php sample file contains:
<?php
return array(
new CronJobExample(),
new TickExample()
);