2017 © Pedro Peláez
 

library php-job-daemon

A super lightweight PHP library to create a job daemon (e.g. consumer scripts) off of that is robust, free of memory leaks, and can run forever.

image

php-job-daemon/php-job-daemon

A super lightweight PHP library to create a job daemon (e.g. consumer scripts) off of that is robust, free of memory leaks, and can run forever.

  • Friday, September 23, 2016
  • by bigi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

JobDaemon

A super lightweight PHP library to create a job daemon off of. Ideal for queue consumers and usage in other types of producer/consumer architecture. It is robust, free of memory leaks, and can run forever (provided that the code extending from it are also free of memory leaks)., (*1)

It has been used in several production environments ranging from small to medium sized traffic, proven to work well to process millions of queue entries a day., (*2)

Features

  • Completely open to process data of any kind. Simply extend the class and overload the parent process and child process methods and do whatever work you need.
  • Flexible logging options.
  • Tested with PHP 5.3 and above

Installation

Grab a copy of the repository and move JobDaemon.php into your project and place it wherever you want, and include/require the file., (*3)

Using Composer

If you need to, install composer., (*4)

Create a composer.json file in your project root, or add JobDaemon to it if you have an existing one., (*5)

{
    "require": {
        "php-job-daemon/php-job-daemon": "dev-master"
    }
}

Install via composer by running this in your project root:, (*6)

$ composer install

The Versions

23/09 2016

dev-master

9999999-dev

A super lightweight PHP library to create a job daemon (e.g. consumer scripts) off of that is robust, free of memory leaks, and can run forever.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Bigi Lui