Looking to hire Laravel developers? Try LaraJobs

laravel-namespace-dispatcher maintained by mineko-io

Description
Dispatches jobs by convention to separate handler class located next to job definition
Author
Last update
2019/04/11 19:25 (dev-master)
License
Links
Downloads
4 163

Comments
comments powered by Disqus

Laravel Namespace Dispatcher

Build Status Maintainability Test Coverage License: MIT

Extends the Illuminate\Bus\Dispatcher class to load handlers for Jobs by convention from namespace. Handlers for jobs should be than named like job / command name concated with "Handler" in the same namespace. No config needed.

Install

Using composer:

composer require "mineko-io/laravel-namespace-dispatcher"