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

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.

Build Status

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()
);