mineko-io / laravel-namespace-dispatcher
Dispatches jobs by convention to separate handler class located next to job definition
Installs: 4 162
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.2.0
- laravel/framework: >=5.6.0
Requires (Dev)
- codeclimate/php-test-reporter: ^0.3.0@dev
- phpunit/phpunit: ^8.2@dev
This package is auto-updated.
Last update: 2025-06-12 06:53:10 UTC
README
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"