m6web / http-kernel-bundle
Custom SF HttpKernel
Installs: 276 580
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 45
Forks: 3
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4.0
- twig/twig: ^2.4
Requires (Dev)
- atoum/atoum: master-dev
- atoum/atoum-bundle: master-dev
README
Add some features to Symfony 2 HttpKernel
Features
- getKStartTime() method which give the application start time.
In your app/AppKernel.php:
<?php use M6Web\Component\HttpKernel\Kernel; class AppKernel extends Kernel { // ... }
- KernelExceptionListener listener catch kernel exceptions events and dispatch another event with status code / response
- KernelTerminateListener listener catch kernel terminate events and dispatch another with start time, memory consumed, route and method
Launch tests
$ ./vendor/bin/atoum