Where can I get a complete list of Laravel events

Tutorials

October 26th, 2012

On StackOverflow a user asked where can they can get a complete list of Laravel events. Jason Lewis gave the answer and I figured it would be useful for others.

1laravel.done
2laravel.log
3laravel.query
4laravel.resolving
5laravel.composing: {viewname}
6laravel.started: {bundlename}
7laravel.controller.factory
8laravel.config.loader
9laravel.language.loader
10laravel.view.loader
11laravel.view.engine
12
13view.filter
14
15eloquent.saving
16eloquent.updated
17eloquent.created
18eloquent.saved
19eloquent.deleting
20eloquent.deleted
21
22500
23404

The 500 and 404 are both error related events. These are set in the routes.php file so you can see what the default listener is.

I’d like to point out that the eloquent.{event} have another variation containing the class name that is being updated.

So a big thanks to Jason for answering.

Filed in:

Eric L. Barnes

Eric is the creator of Laravel News and has been covering Laravel since 2012.