Download the PHP package iiirxs/exception-handler-bundle without Composer
On this page you can find all versions of the php package iiirxs/exception-handler-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download iiirxs/exception-handler-bundle
More information about iiirxs/exception-handler-bundle
Files in iiirxs/exception-handler-bundle
Package exception-handler-bundle
Short Description A Symfony bundle that provides custom exception handling out of the box
License MIT
Informations about the package exception-handler-bundle
Usage
This bundle provides custom exception handling for ajax requests. By default it provides validation exception class, but you can create any custom exception to be handled, by implementing the IIIRxs\ExceptionHandlerBundle\Exception\ExceptionInterface.
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
// config/bundles.php
return [
// ...
IIIRxs\ExceptionHandlerBundle\IIIRxsExceptionHandlerBundle::class => ['all' => true],
];
All versions of exception-handler-bundle with dependencies
php Version ^7.1.3
symfony/config Version ^4.0
symfony/dependency-injection Version ^4.0
symfony/event-dispatcher Version ^4.0
symfony/http-kernel Version ^4.0