The resolution I found was to create an ObserverServiceProvider and place it after DatabaseServiceProvider in the config/app.php file.
Because the event dispatcher is attached to the base Model class in DatabaseServiceProvider. Once event is dispatched in DatabaseServiceProvider we can use Observer.
You looked at the event solution that comes as part of L5?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community