spresnac/laravel-create-user-cli
Adds an Artisan command to create Laravel users straight from the CLI. Prompts for name, email, and password, hashes the password, and saves the new user—handy for local setup, seeding, and admin bootstrapping without tinker or custom scripts.
make:admin command. It informs whether user provisioning deserves engineering roadmap time at all, or whether it should be absorbed as a one-line dependency.php artisan tinker / hand-written seeders / SQL inserts vs. a supported, documented command. Consistency here reduces onboarding time for new engineers and support engineers.Adopt when:
User model with a single default guard, email + password auth, and no unusual required fields.Look elsewhere when:
composer.json before committing; at this size, budget for the real possibility that you own the code.To executives: This is a free, MIT-licensed convenience package that saves our engineers roughly a day of work and removes a recurring support burden — creating user accounts in environments where there's no signup screen. It is not a strategic dependency and it carries no licensing cost. The only real risk is maintenance: it's a small, single-maintainer project, so I'd treat it as a stopgap we can replace in an afternoon, and I would not build a customer-facing workflow on top of it. Recommendation: adopt for internal and self-hosted bootstrap scenarios, and separately decide whether user provisioning deserves real roadmap investment.
To engineering: Treat it as a thin wrapper over an artisan command for creating a user row. Install it, pin the version, and verify two things before it goes in a runbook: that it handles passwords without exposing them in shell history, and that it works on our Laravel version and user schema. If either check fails, we write our own command — it's small enough that copying the idea is cheaper than carrying the dependency. Either way, keep role/permission assignment in our own code, not in the command, so provisioning logic stays in one place we control.
How can I help you explore Laravel packages today?