ecomputer/laravel-users-cli

Create, manage and delete the standard App\User model throgh your terminal Edit
64
Install
composer require ecomputer/laravel-users-cli
Latest Version:0.1.0.4
License:GPL-3.0
Last Updated:Feb 16, 2017
Links: GitHub  ·  Packagist
Maintainer: DevNIX

Laravel users CLI

Create, manage and delete the standard App\User model throgh your terminal

Installation

  1. Run on your Laravel project
composer require ecomputer/laravel-users-cli
  1. In your config/app.php file, register Ecomputer\LaravelUsersCLI\LaravelUsersCLIServiceProvider::class as a new provider
'providers' => [
  // ...
  Ecomputer\LaravelUsersCLI\LaravelUsersCLIServiceProvider::class,
  // ...
]
  1. Done!

Example

List command example

Available commands

Create

Create a basic Laravel user, step by step

php artisan ecomputer:users:create

Delete

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).

List

Gives a complete list of all the registered users.

php artisan ecomputer:users:list

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

628,058,007 9,707
laravel/framework

The Laravel Framework.

576,155,700 34,907
laravel/tinker

Powerful REPL for the Laravel framework.

485,678,092 7,440