ZF2 events

Module Manager

Zend\Module\Manager: loadModules.pre
For every module:
Zend\Module\Manager: loadModule.resolve
Zend\Module\Manager: loadModule
Zend\Module\Manager: loadModules.post
Application

Successful:

Zend\Mvc\Application: bootstrap
Zend\Mvc\Application: route
Zend\Mvc\Application: dispatch
Zend\Mvc\Controller\ActionController: dispatch (if controller extends this class)
Zend\Mvc\Application: render
Zend\View\View: renderer
Zend\View\View: response
Zend\Mvc\Application: finish
On an error in route or dispatch:

Zend\Mvc\Application: dispatch.error
Zend\Mvc\Application: render
Zend\View\View: renderer
Zend\View\View: response
Zend\Mvc\Application: finish
Note that routing and dispatching is also implemented using these registered events, so you can implement “pre” and “post” hooks by changing the priority of the listener that you register.