Looking to hire Laravel developers? Try LaraJobs

laravel-make-commands maintained by joelbutcher

Description
A simple package for extending functionality of the core make commands in Laravel
Author
Last update
2020/09/19 10:43 (dev-master)
License
Links
Downloads
11

Comments
comments powered by Disqus

Laravel Make Commands

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.

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

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:

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

License

The Laravel framework is open-sourced software licensed under the MIT license.