Laravel Pulse Card for 4XX responses like validation, auth and not found.
You can install the package via composer:
composer require morrislaptop/laravel-pulse-4xx
Add the FourXxRecorder
to the config/pulse.php
file.
return [
// ...
'recorders' => [
Morrislaptop\LaravelPulse4xx\FourXxRecorder::class => [
'enabled' => env('PULSE_4XX_ENABLED', true),
'sample_rate' => env('PULSE_4XX_SAMPLE_RATE', 1),
'ignore' => [
'#^/wp-admin#', // Classic WordPress...
'#^/wp-login#',
'#^/wp-config#',
'#^/xmlrpc\.php#',
'#^/browserconfig\.xml#', // Microsoft junk
],
],
// ...
]
]
To add the card to the Pulse dashboard, you must first publish the vendor view.
php artisan vendor:publish --tag=pulse-dashboard
Then, add the card to your resources/views/vendor/pulse/dashboard.php
:
<x-pulse>
<livewire:4xx cols="4" rows="2" />
<!-- ... -->
</x-pulse>
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.