jetea/exception

The Jetea Exception component.

2.0.0 2019-01-17 11:07 UTC

This package is auto-updated.

Last update: 2024-04-25 21:04:41 UTC


README

The Jetea Exception component.

Installation

composer require jetea/exception=~2.0 -vvv

Getting Started

  1. vim index.php

    <?php
    require __DIR__ . '/vendor/autoload.php';
    
    $handler = new \Jetea\Exception\Handler();
    (new \Jetea\Exception\HandleExceptions($handler))->handle();
    
    //undefined variable: a
    echo $a;
    
  2. Run php -S 127.0.0.1:9000

  3. Open a browser window and navigate to http://127.0.0.1:9000. You should be able to see the debugger page.