| Package Data | |
|---|---|
| Maintainer Username: | MCMatters |
| Maintainer Contact: | dima.matters@gmail.com (Dmitry Borzyonok) |
| Package Create Date: | 2017-06-27 |
| Package Last Update: | 2020-06-14 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-26 15:01:15 |
| Package Statistics | |
|---|---|
| Total Downloads: | 322 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 1 |
| Total Watchers: | 1 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
Package with laravel user commands.
composer require mcmatters/laravel-user-commands
Include the service provider within your config/app.php file.
'providers' => [
McMatters\UserCommands\ServiceProvider::class,
]
Publish the configuration.
php artisan vendor:publish --provider="McMatters\UserCommands\ServiceProvider"
Then open the config/user-commands.php and configure namespaces for your models.
This package requires php 7.0 or higher and Laravel 5.2 or higher.
Available commands:
php artisan user:assign-role {user} {role} - Attach role for given userphp artisan user:sanitize - Sanitize all user emails. You can configure which users should be taken through the scopesphp artisan user:update-password {user} - Update password for given user