Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Cushty's avatar
Level 4

Create filament admin via seed?

Hi, it gets annoying making a new filament user every time I do a migrate fresh, is there a way to create on the fly with a seeder? Thanks

0 likes
4 replies
tykus's avatar

What have you tried already?

The Filament MakeUserCommand does not more than creating a new User record for a given name, email and hashed password. You can easily create a seed to replace this particular step.

Cushty's avatar
Cushty
OP
Best Answer
Level 4

it's ok I just made an admin in the default seeder, thanks

Please or to participate in this conversation.