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.
Architecture fit
php artisan tinker + User::create(), database seeders, the registration actions shipped by Breeze/Fortify/Jetstream, and equivalents like make:filament-user. Any decision to adopt it is a decision to standardize on one of several already-available paths, not to fill a capability gap.Integration feasibility
Technical risk
Key questions
illuminate/support/illuminate/console constrained tightly enough to survive our next LTS upgrade?config/auth.php providers, or hardcode App\Models\User?Stack fit
App\Models\User, integer or UUID primary key, single default guard, no team/tenant scoping, and standard email/password auth.Migration path
composer remove plus deleting any wrapper we layered on top, so lock-in is effectively zero.Compatibility
config:cache, command registration inside read-only/ephemeral containers, and command-name collisions with existing Artisan namespaces.QueryException) and confirm hashing by inspecting the created row, not by trusting the prompt.Sequencing
users:create command (~60–80 lines) that uses our model, our validation, and our audit logging is likely the better default; adopt the package only if the spike shows it matches our model exactly.require-dev or environment-gated provider registration so the command does not exist in production.Maintenance
Support
Scaling
Failure modes
ps output, or CI logs; also no rotation prompt, so a weak operator-chosen password may persist.Ramp-up
How can I help you explore Laravel packages today?