Skip to content

MCMatters/laravel-user-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages