PHP code example of raffaelecarelle / php-error-insight-laravel

1. Go to this page and download the library: Download raffaelecarelle/php-error-insight-laravel 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/ */

    

raffaelecarelle / php-error-insight-laravel example snippets

bash
composer 
bash
php artisan vendor:publish --tag=php-error-insight-config
env
PHP_ERROR_INSIGHT_ROOT=/var/www/app
PHP_ERROR_INSIGHT_EDITOR="phpstorm://open?file=%file&line=%line"
# For containers mapping to host project path
PHP_ERROR_INSIGHT_HOST_ROOT=/Users/you/project
env
APP_DEBUG=false
PHP_ERROR_INSIGHT_ENABLED=false