Skip to main content

Posts

Showing posts from November, 2019

Brief Understanding Laravel Scopes

In this article, we will discuss “Brief Understanding Laravel Scopes”. I will try to explain to you, How can you use this in your Laravel application. As we know, Laravel provides lots of rich features to make development easy and simple. You can check the official documentation here. Now, the first question is: Why we […] Read out the full post at here

Laravel Authorization Policies - Part 2

In this article, we will discuss “Laravel Authorization Policies”. As I already, Describe the Laravel Gates in my previous article. You have to take a look at Laravel Authorization with Gates article for better understanding. Basically, Laravel Policies are the best way to protect Model actions. Why we need Laravel Policy? Laravel Policy is a class, […] Read out the full post at here

Laravel Authorization with Gates - Part 1

In this article, we will discuss the “Laravel Authorization with Gates”. As you know, Laravel provided an Authentication solution that is Out of the box. Laravel provides two simple way to manage the authentications such as Gates and Policies. The basic difference between the gates and the policies, Gates provides a simple closure based approach […] Read out the full post at here