2017 © Pedro Peláez
 

library queue

Implementation of PHP task queue using db to store tasks and statistics

image

kurzor/queue

Implementation of PHP task queue using db to store tasks and statistics

  • Monday, January 29, 2018
  • by marekgach
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Simple queue in PHP - currently under development., (*1)

Build Status Coverage Status, (*2)

You need to have table jobs present in your database. Please run the SQL below to create it., (*3)

DROP TABLE IF EXISTS `jobs`;
CREATE TABLE `jobs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `handler` text COLLATE utf8_czech_ci NOT NULL,
  `queue` varchar(255) COLLATE utf8_czech_ci NOT NULL DEFAULT 'default',
  `attempts` int(10) unsigned NOT NULL DEFAULT '0',
  `run_at` datetime DEFAULT NULL,
  `locked_at` datetime DEFAULT NULL,
  `locked_by` varchar(255) COLLATE utf8_czech_ci DEFAULT NULL,
  `failed_at` datetime DEFAULT NULL,
  `error` text COLLATE utf8_czech_ci,
  `created_at` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;

Running tests

php composer.phar install && php composer.phar install
vendor/bin/phpunit --bootstrap=tests/TestHelper.php

The Versions

29/01 2018

dev-master

9999999-dev

Implementation of PHP task queue using db to store tasks and statistics

  Sources   Download

GPL GPL-3.0-or-later

The Requires

 

The Development Requires

by Marek Gach