how to make authentication with breeze based on Role .and use spatie for handling permissions
i want to make authentication with laravel base on role ; superAdmin, admin,user,
for that i want many to many relationships between user model and Role model which will result a pivot table role_user.
the second step is i want to use spatie for handling permissions for each role.
The laravel errors are not shown correctly
I’m creating a Laravel app with membership. I’m using breeze to manage that. Recently I’ve added the verification e-mail function and from here, my error messages are not shown correctly.
How to trigger table update when email is successfully verified on laravel breeze?
So I have customized the users table on the default installation of Laravel Breeze, I want specific updates to the table rows when the email is successfully verified. How to do it? I don’t really understand which files to change. I want the changes to trigger along with changes to the email_verified_at row.
probelm in roote and veiws and controller for the dashboard view in laravel using breeze
I want to execute the index function of a controller before returning the dashboard view, but it seems like Laravel automatically returns any view named ‘dashboard’. Even after changing all the names of the dashboard and the route, it returns an error stating there is no route with that name. I tried renaming everything and treated the dashboard as a separate page, but then it doesn’t recognize the route. I just want to retrieve some data from the database and display it on the dashboard.