I suggest that unless you want to learn about multiple guards, that you have one table for users and a column to designate them teacher or student.
But if you want to go down the multiple table route, then;
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello there,
I am new in Laravel. I would like to make a login page and wanna login from 2 different tables. Suppose, my tables would be a student and a teacher. What steps should I take in?
Thank you!!!
I suggest that unless you want to learn about multiple guards, that you have one table for users and a column to designate them teacher or student.
But if you want to go down the multiple table route, then;
Please or to participate in this conversation.