Useful artisan commands for Laravel to help perform regular tasks.
You can install the package via composer:
composer require justinbyrne/extra-artisan-commands
You can publish the config file with:
php artisan vendor:publish --tag="extra-artisan-commands-config"
This is the contents of the published config file:
return [
/*
|--------------------------------------------------------------------------
| Create new user fields
|--------------------------------------------------------------------------
|
| The fields that are needed to create a new user, add or remove as
| required.
|
*/
"user_fields" => [
"name" => "string",
"email" => "email",
"password" => "password",
],
];
The package adds artisan commands all of which cab be ran with php artisan
then any of the commands in the list below.
Command | Description |
---|---|
create:user |
Create new user using the options in the config |
make:service {name} |
Create new service class |
make:action {name} |
Create new action class |
make:trait {name} |
Create new trait |
make:enum {name} {type} |
Create new enum |
Please see CHANGELOG for more information on what has changed recently.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.