ebergsma/404-monitor

Monitor 404 pages within Laravel Pulse
1,592
Install
composer require ebergsma/404-monitor
Latest Version:v1.6
PHP:^8.3
Laravel:12
Older releases:10 · 11
License:MIT
Last Updated:Mar 29, 2025
Links: GitHub  ·  Packagist
Maintainer: Managoresh

Track 404 errors in Laravel Pulse

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is a Laravel Pulse package that allows you to track 404 errors.

Installation

You can install the package via composer:

composer require ebergsma/404-monitor

Optionally, you can publish the views using

php artisan vendor:publish --tag="404-monitor-views"

Usage

Register the recorder in config/pulse.php. (If you don't have this file make sure you have published the config file of Laravel Pulse using php artisan vendor:publish --tag=pulse-config)

return [
    // ...

    'recorders' => [
        // Existing recorders...

        \Geow\NotFoundMonitor\Recorders\NotFoundRecorder::class => [
            'enabled' => true,
            'ignore' => [
                // Ignore specific urls (regex supported)
            ],
        ]
    ]
]

Publish Laravel Pulse dashboard.blade.php view using php artisan vendor:publish --tag=pulse-dashboard

Then you can modify the file and add the 404-monitor livewire template.

<livewire:404-monitor cols="full" />

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

Version History

Version Released PHP Laravel License
v1.6 ^8.3 ^12.3 MIT
v1.5 ^8.3 ^10.0|^11.0 MIT