Skip to content

Conversation

@beryllium
Copy link
Contributor

Simple console command to create a user:

php artisan create:user email@example.com 'Example Name' exampleusername 'password'

@snipe
Copy link
Owner

snipe commented Mar 19, 2017

What's the use case here?

@beryllium
Copy link
Contributor Author

I didn't want to use the form to register when I was running in dev mode (based on past experience of all kinds of things getting kicked off by that), and just needed to get the row added to the DB with a valid PW.

Aside from that, I've found CLI commands to be fairly useful for development, testing, and automation. Not typically for production usage.

@beryllium
Copy link
Contributor Author

(You're welcome to close it if you still question the utility. It's far from a thrillingly critical feature :) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants