Today, we’ll learn a beautiful feature of Laravel PHP Framework – Model Observer. Let’s dive into this quickly.
What is Observer
Observer is an event listening class that will listen and can do action of any changes of that regarding Model.
That means, when we need to do something after a Model changes or after a model event occurs. Then, we can use Observer to listen to that cha