Done!

Laravel Event is not firing?


So you are trying out the new Laravel 5 Event methodology. However, if it is not firing the event or linking up with its handler class then run following command(s):

Try:

php artisan optimize

If it is still not firing the event, then run:

composer dumpautoload
php artisan clear-compiled

After this event should start firing. If it still don't then you might also want to try following command

//delete vendor\compiled.php
//then
composer update

Thanks