Laravel Pro Tips
#admin #middleware
#Laravel Tip: If your user only has a role of admin or user, you can create a column of 'is_admin' (boolean type) in the users table and create a custom middleware to check if user is admin or not.
andywong31
No articles were found.