https://github.com/chesszebra/php-jobsystem
A PHP library that provides support for executing worker jobs.
https://github.com/chesszebra/php-jobsystem
beanstalkd job-queue php7
Last synced: 3 months ago
JSON representation
A PHP library that provides support for executing worker jobs.
- Host: GitHub
- URL: https://github.com/chesszebra/php-jobsystem
- Owner: chesszebra
- License: mit
- Created: 2017-09-06T22:01:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-18T13:54:41.000Z (almost 5 years ago)
- Last Synced: 2025-05-30T18:08:28.478Z (4 months ago)
- Topics: beanstalkd, job-queue, php7
- Language: PHP
- Size: 84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-jobsystem
[](https://travis-ci.org/chesszebra/php-jobsystem)
A PHP library that provides support for executing worker jobs.
## Installation
```bash
composer require chesszebra/jobsystem
```## Usage
Adding jobs:
```php
addJob(new \ChessZebra\JobSystem\Job\Job('my-worker', [
'some' => 'parameter',
]));
```Executing jobs:
```php
run();
```## Development
Run composer and phpunit using Docker:
```bash
docker run --rm -it -v $(pwd):/data chesszebra/composer install
docker run --rm -it -v $(pwd):/data chesszebra/phpunit
```