geowrgetudor/404-monitor 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

geowrgetudor/404-monitor

最新稳定版本:2.0

Composer 安装命令:

composer require geowrgetudor/404-monitor

包简介

Monitor 404 pages within Laravel Pulse

README 文档

README

404 Monitor for Laravel Pulse

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 geowrgetudor/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.

统计信息

  • 总下载量: 27.78k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 25
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 25
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-06