© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
4 replies
eggswithshrek

Override makeUserCommand in vendor folder

I have made a custom user model that does not hold the email or name of the user, these fields are stored in a seperate table that contains more information on the user.

I have created a new login and changed the authIdentifiers to make use of username, however I would like the command:
php artisan make:filament-user
php artisan make:filament-user

to make use of the username and simply ask for the username and the password for easy user creation.

Without having to change the vendor code, which is bad practice, how can I override the makeUserCommand?
Solution
After posting this I came to that conclusion, I wasn't aware you could override a command by makign a new one with the same signature.

Thanks
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Missing Vendor in Projects
FilamentFFilament / ❓┊help
2mo ago
Is there a way to override vendor/filament/filament/routes/web.php?
FilamentFFilament / ❓┊help
3y ago
Override creation in Importer
FilamentFFilament / ❓┊help
2y ago
Override traits in tables
FilamentFFilament / ❓┊help
2y ago