Skip to content
This repository was archived by the owner on Aug 8, 2019. It is now read-only.

Latest commit

 

History

History
21 lines (15 loc) · 495 Bytes

README.MD

File metadata and controls

21 lines (15 loc) · 495 Bytes

PHP Daemonizer

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