Introduction to Laravel Gates
4 years ago
Laravel Gates allows you to authorize users from accessing certain areas of your application. You can easily define gates in your application and then use them to allow or deny access.
Let's start things off with a simple example of granting access without Gates, and then you'll see how we can use Gates as an alternative.
Link: