Skip to content

Useful artisan commands for Laravel to help perform regular tasks

License

Notifications You must be signed in to change notification settings

MohammadAlhallaq/extra-artisan-commands

 
 

Repository files navigation

Extra Artisan Commands

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Useful artisan commands for Laravel to help perform regular tasks.

Installation

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",
    ],
];

Usage

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

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Useful artisan commands for Laravel to help perform regular tasks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%