Download the PHP package dinoqqq/crystal without Composer
On this page you can find all versions of the php package dinoqqq/crystal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dinoqqq/crystal
More information about dinoqqq/crystal
Files in dinoqqq/crystal
Download dinoqqq/crystal
More information about dinoqqq/crystal
Files in dinoqqq/crystal
Vendor dinoqqq
Package crystal
Short Description Queue worker to easily manage recurring tasks
License MIT
Package crystal
Short Description Queue worker to easily manage recurring tasks
License MIT
Please rate this library. Is it a good library?
Informations about the package crystal
Crystal: A queue worker for recurring tasks
Crystal is a queue worker optimized for recurring tasks that need to be processed in an easy manageable way.
Features
- A clear overview of which tasks are recurring (in a DB table).
- Graceful shutdown of tasks (needed for tasks that have an unknown running time).
- Manageable system resources; by setting the total number of tasks/processes allowed to be processed simultaneously.
- Configurable dependencies between tasks (order of running).
- Easily dedicate more or less resources to tasks.
Requirements
- PHP7.2+
- MySQL / MariaDB
Get Started
Install via Composer
composer require dinoqqq/crystal
Usage
- Create a config.
- Create a TaskFactory, to define tasks.
- Create a Queuer, to schedule processes.
- Create cron entries to start the system and keep it running.
- Create a Controller, to catch the cron entries and start the heartbeat processes.
Development: running tests
To get the tests running follow these steps:
- Set the database settings in
/config/database.php
- Run the migrations in
/migration
- Run
composer update
- Run
/vendor/bin/phpunit
Read the extended README here.
All versions of crystal with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
ext-pcntl Version *
ext-pdo Version *
monolog/monolog Version ^2.2
catfan/medoo Version ^1.7
psr/container Version ^1.
ext-pcntl Version *
ext-pdo Version *
monolog/monolog Version ^2.2
catfan/medoo Version ^1.7
psr/container Version ^1.
The package dinoqqq/crystal contains the following files
Loading the files please wait ....