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

pilat/daemonizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple PHP daemon based on ReactPHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages