yupmin/laravel-worker

Laravel Job Worker

dev-master 2019-09-25 15:15 UTC

This package is auto-updated.

Last update: 2024-12-26 03:19:12 UTC


README

Laravel Worker for multi purposes or multi queue-servers.

Requirements

  • PHP 7.1 above
    • ext-json
  • Laravel 5.5
  • redis, rabbitmq or more

Installation

composer require yupmin/laravel-worker

Install config

php artisan vendor/publish --provider=Yupmin\Worker\ServiceProvider

How to use

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

License

The MIT License (MIT). Please see License File for more information.