forked from joelbutcher/laravel-make-commands
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4c8def
commit ed07f3b
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
## Laravel Make Commands | ||
[](http://choosealicense.com/licenses/mit/) | ||
|
||
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. | ||
|
||
## Installation | ||
|
||
Require this package with composer. It is recommended to only require the package for development. | ||
|
||
```shell | ||
composer require joelbutcher/laravel-make-commands --dev | ||
``` | ||
|
||
Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider. | ||
|
||
### Laravel without auto-discovery: | ||
|
||
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php | ||
|
||
```php | ||
JoelButcher\LaravelMakeCommands\ServiceProvider::class, | ||
``` | ||
|
||
## Enabled Commands | ||
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: | ||
|
||
```php | ||
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 | ||
``` |