Skip to content

Useful artisan commands for Laravel to help perform regular tasks

License

Notifications You must be signed in to change notification settings

JustinByrne/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:action {name} Create new action class
make:enum {name} {type} Create new enum
make:service {name} Create new service class
make:trait {name} Create new trait

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages