michaeldyrynda / laravel-make-user by michaeldyrynda

An Artisan console command to create users in your Laravel application.
40,479
109
3
Package Data
Maintainer Username: michaeldyrynda
Maintainer Contact: michael@dyrynda.com.au (Michael Dyrynda)
Package Create Date: 2017-06-09
Package Last Update: 2024-02-27
Home Page: https://dyrynda.com.au
Language: PHP
License: MIT
Last Refreshed: 2024-11-20 03:01:54
Package Statistics
Total Downloads: 40,479
Monthly Downloads: 103
Daily Downloads: 10
Total Stars: 109
Total Watchers: 3
Total Forks: 12
Total Open Issues: 1

Laravel Make User

v5.0.0

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads License Dependency Status

Introduction

Out of the box, Laravel makes it really simple to scaffold out with its authentication quickstart. Whilst this makes it really easy to register and authenticate users, for many of the applications I find myself building, we usually remove the ability for visitors to register themselves.

I still need a way to get users into those applications, however, and whilst they're in early development this usually involves firing up Laravel Tinker. This can be a tedious process, and one that I repeat many times over.

This package aims to solve the repetition problem by providing a convenient make:user Artisan command.

Version compatibility

Laravel | Package :-------|:-------- 5.4.* | 1.0.* 5.5.* | 2.0.* 5.6.* | 3.0.* 5.7.* | 4.0.* 5.8.* | 5.0.*

Code Samples

This package exposes a make:user command, which is accessed via the Artisan command line utility. The package will use the model defined in your auth.providers.users.model configuration value.

php artisan make:user

This package runs on the assumption that you are using Laravel's default users table structure. You can specify additional fields when prompted.

Installation

This package is installed via Composer. To install, run the following command.

composer require "dyrynda/laravel-make-user:~4.0"

Support

If you are having general issues with this package, feel free to contact me on Twitter.

If you believe you have found an issue, please report it using the GitHub issue tracker, or better yet, fork the repository and submit a pull request.

If you're using this package, I'd love to hear your thoughts. Thanks!