Laravel 4 how to use events

One of the most powerful aspect of Drupal is the concept of hooks. We can modify core features of Drupal entities without hacking the core. It’s a great way to separate the concerns of code which in long term helps us write maintainable code. Laravel 4 events is one such thing which I can compare with hooks. In this tutorial, I will show you how to use a Laravel event like user login and perform some activity using a completely difference class. Continue reading “Laravel 4 how to use events”