New
Create a Filament Admin Panel User
Prompts for name, email and password, then creates a user who can sign in to the Filament panel.
Run it as the web server user on a live server so anything it touches stays owned correctly. If your User model gates panel access with canAccessPanel(), the new user still has to satisfy that check.
When you need this: Right after installing Filament, or whenever you need to grant a colleague admin access.
Variables
Files this creates must be owned by the user PHP-FPM runs as.
Command
3 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.