Laravel Worker for multi purposes or multi queue-servers.
- PHP 7.1 above
- ext-json
- Laravel 5.5
- redis, rabbitmq or more
composer require yupmin/laravel-worker
Install config
php artisan vendor/publish --provider=Yupmin\Worker\ServiceProvider
Running Worker.
php artisan worker:run echo
...
[2019-08-28T14:36:47+00:00] worker:run echo "worker running..."
Send Message to Worker
php artisan worker:send echo Test
The MIT License (MIT). Please see License File for more information.