Category: Laravel, PHP

In this chapter, we explain the authorization process in Laravel. Before proceeding further into learning about the authorization process in Laravel, let us understand the difference between authentication and authorization. In authentication, the system or the web application identifies its users through the credentials they provide.

In authorization, the system or the web application checks if the authenticated users can access the resources that they are trying to access or make a request for.

Laravel provides a simple mechanism for authorization that contains two primary ways, namely Gates and Policies.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners