public function boot(Dispatcher $dispatcher) { $dispatcher->mapUsing(function ($command) { return Dispatcher::simpleMapping($command, 'App\\Commands', 'App\\Handlers\\Commands'); }); }