Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher authored May 24, 2020
1 parent c4c8def commit ed07f3b
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## Laravel Make Commands
[![Packagist License](https://poser.pugx.org/barryvdh/laravel-debugbar/license.png)](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
```

0 comments on commit ed07f3b

Please sign in to comment.