1. Go to this page and download the library: Download mscharl/pretty-error-page 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/ */
mscharl / pretty-error-page example snippets
return [
'title' => 'Whoops!',
'header_title' => 'Whoops! Something went wrong.',
'description' => 'Something went wrong.',
'submit_bug' => 'If this problem presits, pleace contact our <a href=":link">Support-Team</a>',
];
sh
php artisan asset:publish
sh
php artisan config:publish mscharl/pretty-error-page
sh
php artisan asset:publish mscharl/pretty-error-page
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.