mcmatters/laravel-user-commands

322 1
Install
composer require mcmatters/laravel-user-commands
Latest Version:v1.2
PHP:>=7.0
Laravel:5 · 6 · 7
License:MIT
Last Updated:Jun 14, 2020
Links: GitHub  ·  Packagist
Maintainer: MCMatters

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 user
  • php artisan user:sanitize - Sanitize all user emails. You can configure which users should be taken through the scopes
  • php 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/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

502,645,077 7,441
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 || 6.* || 7.* 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