marcandreappel / laravel-artisan-users
An artisan command for fast user management.
2.0.0
2020-11-25 19:34 UTC
Requires
- php: ^7.4|^8.0
- illuminate/support: ^8.14
Requires (Dev)
- nunomaduro/larastan: ^0.6.9
- orchestra/testbench: ^6.0
- phpstan/phpstan: ^0.12.56
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^3.5
README
A collection of Laravel artisan
commands to manage users on the cli.
Installation
You can install the package via composer:
composer require marcandreappel/laravel-artisan-users
Usage
First publish the config and adjust your User model. If you want to use the simple role system, see below.
artisan publish vendor:publish --provider="MarcAndreAppel\ArtisanUsers\ArtisanUsersServiceProvider" --tag="config"
Then you're good to go for the first command, just answer the questions:
artisan user:add
Else you can edit an user:
artisan user:edit
Testing
The test can be run with:
composer test
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.
Some parts are from the Laravel Package Boilerplate generator.