Level 50
I would probably add the super admin to the seeder, so when you install your application and run php artisan migrate --seed you get your super admin out of the box.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Laravel already comes out of the box with a generic user/admin auth form and user registeration. When the very 'first' user registers in on a brand new database, what is the best practise around to set this 'first' as the superadmin?
Appreciate inputs on this on best practises out there.
Please or to participate in this conversation.