shippinno / job
A package for creating, serializing, storing, queueing, and running jobs.
Installs: 2 489
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 1
Open Issues: 1
Requires
- php: ^7.4
- ext-pcntl: *
- doctrine/orm: ^2.5.0
- enqueue/enqueue: ^0.10.14
- jms/serializer: ^1.11.0
- shippinno/sqs: ^1.0
- symfony/yaml: ^5.1.0
Requires (Dev)
- illuminate/console: ^5.5
- illuminate/container: ^5.5
- mockery/mockery: ^1.0
- phpunit/phpunit: ^7.0
- squizlabs/php_codesniffer: ^3.2
- wmde/psr-log-test-doubles: ^2.2
This package is not auto-updated.
Last update: 2024-12-12 05:40:22 UTC
README
Basic Usage
Create a job
class EchoMessageJob extends Shippinno\Job\Application\Job { /** * @param string $message */ private $message; /** * @param string $message */ public function __construct(string $message) { parent::__construct(); $this->message = $message; } /** * @return string */ public function message(): string { return $this->message; } /** * @return string */ public function jobRunner(): string { return SomeJobRunner::class; } }