This is a package that can be used to extend the functionality of Laravels make
commands. It allows developers to define the destination of their new files.
Require this package with composer. It is recommended to only require the package for development.
composer require joelbutcher/laravel-make-commands --dev
Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
JoelButcher\LaravelMakeCommands\ServiceProvider::class,
This package only works with the make
commands that Laravel doesnt use in it's core system, such as Factories, Seeders and Migrations. The following commands are enabled:
ChannelMakeCommand::class
ComponentMakeCommand::class
ConsoleMakeCommand::class
ControllerMakeCommand::class
EventMakeCommand::class
ExceptionMakeCommand::class
JobMakeCommand::class
ListenerMakeCommand::class
MailMakeCommand::class
MiddlewareMakeCommand::class
NotificationMakeCommand::class
ObserverMakeCommand::class
PolicyMakeCommand::class
ProviderMakeCommand::class
RequestMakeCommand::class
ResourceMakeCommand::class
RuleMakeCommand::class
The Laravel framework is open-sourced software licensed under the MIT license.