mcmatters/laravel-user-commands
Laravel User Commands
Package with laravel user commands.
Installation
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.
Requirements
This package requires php 7.0 or higher and Laravel 5.2 or higher.
Usage
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
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
641,106,524
9,700
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
418,291,778
609
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
394,964,158
4,660
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.2 | >=7.0 | ^5.2 | | MIT | |
| v1.1 | >=7.0 | >=5.2 | MIT | |
| v1.0.2 | >=7.0 | ^5.2 | MIT | |
| v1.0.1 | >=7.0 | ^5.2 | MIT | |
| v1.0 | >=7.0 | ^5.2 | MIT |