PHP code example of requtize / eehandler

1. Go to this page and download the library: Download requtize/eehandler library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

requtize / eehandler example snippets


// Development environment - shows all errors and debug tools
$handler = new EEHandler('dev');

// Production environment - Show only HTTP error code.
$handler = new EEHandler('prod');

// Register all handlers
$handler->register();