Package Data | |
---|---|
Maintainer Username: | DevNIX |
Maintainer Contact: | pablolargo@ecomputer.es (Pablo Largo Mohedano) |
Package Create Date: | 2017-02-08 |
Package Last Update: | 2017-02-16 |
Language: | PHP |
License: | GPL-3.0 |
Last Refreshed: | 2025-02-09 15:23:38 |
Package Statistics | |
---|---|
Total Downloads: | 62 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 7 |
Total Forks: | 0 |
Total Open Issues: | 3 |
Create, manage and delete the standard App\User
model throgh your terminal
composer require ecomputer/laravel-users-cli
config/app.php
file, register Ecomputer\LaravelUsersCLI\LaravelUsersCLIServiceProvider::class
as a new provider'providers' => [
// ...
Ecomputer\LaravelUsersCLI\LaravelUsersCLIServiceProvider::class,
// ...
]
Create a basic Laravel user, step by step
php artisan ecomputer:users:create
Delete a user. If you run the command without parameters Artisan will give you a choice filled with all the registered users. You can select an user with the arrow keys, with a numeric option, or autocompleting while writing the name of the user.
php artisan ecomputer:users:delete
If you know the ID of the user you want to delete, just pass it as a parameter.
php artisan ecomputer:users:delete --id=1
In all cases, the assistant will be gentle and will ask you for confirmation (defaults to no, for avoiding accidents).
Gives a complete list of all the registered users.
php artisan ecomputer:users:list