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

lah-ben's avatar

Multiple registration form !

Hello everyone , I need your help about a subject , i want to make a system that contain 3 users type (Admin , Teacher & Student) What is the best method , make 3 tables for everyone or add role attribut to the users table in this case i have probleme, the registration blade of student is different from that of teacher(some additional attributes ) , so how i do in this case

0 likes
1 reply
jlrdw's avatar

Have separate forms, but still one users table. A user is a user.

Also this has been covered many times, punch into google:

site:laracasts.com Multiple Authentication

But one Auth is all that's needed, a user is a user. Use authorization to determine who can do what.

Jeffrey has several free videos on authorization in the from scratch series.

Please or to participate in this conversation.