php-daemon Start your Job by Daemon Usage Create Job class MyJob extends Job { public function processJob() { // your code here } } Start Daemon $daemon = new Daemon(); $daemon->setJob(new MyJob()); $daemon->start();