# Phalcon-JobQueue **Repository Path**: mirrors_basilfx/Phalcon-JobQueue ## Basic Information - **Project Name**: Phalcon-JobQueue - **Description**: PHP job queue for asynchronous tasks within the Phalcon Framework. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-10-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Phalcon-JobQueue PHP job queue for asynchronous tasks within the Phalcon Framework. ## Introduction Phalcon has support for [Beanstalkd](http://kr.github.io/beanstalkd/), but it requires an broker to run jobs. This is a different implementation that runs within the same environment. It has support for synchronous mode. To add a job: ```php $this->jobQueue->add(new Job("sayHello", [ "name" => "World" ])); ``` Below is an example of an executor service: ```php getAction(); $parameters = $job->getParameters(); if ($action === "sayHello") { echo "Hello, {$parameters["name"]}!"; $job->setResult("Done."); $job->setProgress(100); $update($job); } } } ``` ## Requirements * PHP 7.0 or later. * Phalcon Framework 3.0 or later. ## Installation Install this dependency using `composer require basilfx/phalcon-jobqueue`. ## License See the `LICENSE` file (MIT license).