joelbutcher/laravel-make-commands

A simple package for extending functionality of the core make commands in Laravel

v1.0.2 2020-09-19 08:38 UTC

This package is auto-updated.

Last update: 2024-11-19 17:39:50 UTC


README

Style CI License

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.