Sir Jon, I need help. I'm trying to build a capstone project for school that would cater 33 different types of users (Super Admin, Admin, Students). It is an event management system. How can I set up the Access Control and Authentication to make the login a role-based access depending on who logged in using Laravel 11?
i renamed postfactory for syntax reference and try command seeding it gets an error and you said post factory dont matter good thing i did not delete it
Post factory don't matter if you also define the dummy data inside the database seeder. But in this case, he only uses Post::factory(15)->create(); meaning it references the array defined in PostFactory.
Sir Jon, I need help.
I'm trying to build a capstone project for school that would cater 33 different types of users (Super Admin, Admin, Students). It is an event management system. How can I set up the Access Control and Authentication to make the login a role-based access depending on who logged in using Laravel 11?
Thank you so much.
thanks
i renamed postfactory for syntax reference and try command seeding it gets an error and you said post factory dont matter good thing i did not delete it
Post factory don't matter if you also define the dummy data inside the database seeder. But in this case, he only uses Post::factory(15)->create(); meaning it references the array defined in PostFactory.