mazfreelance / laravel-command-generator by mazfreelance

This is a simple package that includes some of custom Laravel artisan command into Laravel/Lumen.
34
2
1
Package Data
Maintainer Username: mazfreelance
Maintainer Contact: maz.webfreelance@gmail.com (Mazfreelance)
Package Create Date: 2021-12-14
Package Last Update: 2023-07-25
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-04-30 15:10:06
Package Statistics
Total Downloads: 34
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

License StyleCI Latest Version Total Downloads Laravel Framework

Laravel Command Generator

This is a simple package that includes some of custom Laravel artisan command into Laravel/Lumen.

Installation

You can install the package via composer:

composer require mazfreelance/laravel-command-generator --dev

Configuration

Laravel

Edit the config/app.php file and add the following line to providers:

...
Mazfreelance\LaravelCommandGenerator\ServiceProvider::class
...

Lumen

Edit the bootstrap/app.php file and add the following line to register the service provider:

...
$app->register(Mazfreelance\LaravelCommandGenerator\ServiceProvider::class);
...

Additional command for Lumen Only

Available Commands

make:action         Create a new Action class
make:dto            Create a new Data Transfer Object class

Change log

Please see the changelog for more information on what has changed recently.

Credits

License

MIT. Please see the license file for more information.