Skip to content

Jetea/exception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exception

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:https://127.0.0.1:9000. You should be able to see the debugger page.