jungle-bay/symfony-debug-extension

This package is abandoned and no longer maintained. No replacement package was suggested.

Symfony Debug Component Extension

dev-master 2018-03-30 09:40 UTC

This package is not auto-updated.

Last update: 2024-01-08 21:29:04 UTC


README

Symfony Debug Extension Logo

Symfony Debug Extension

Travis CI Scrutinizer CI Codecov

Package description.
Where can I see the documentation, example.

Prerequisites

  • PHP 5.5 or above.
  • ***.

Install (Under development, not yet available)

The recommended way to install is through Composer:

composer require jungle-bay/symfony-debug-extension

The simplest example of use

<?php

require_once __DIR__ . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR, array('vendor', 'autoload.php'));

$errorHandler = \Symfony\Component\Debug\Extension\ErrorHandler(new SimpleStrategy());
$errorHandler::registerExtension($errorHandler);

$errorHandler->registerHandler(new \Acme\Handlers\ExceptionHandler(), Exception::class);

throw new \Exception('Hello world.');

Docs

See the complete docs in here.

Note

  • .
  • .

License

This bundle is under the MIT license. See the complete license in the file: here.