承接 mkwebdesign/filament-watchdog 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

mkwebdesign/filament-watchdog

Composer 安装命令:

composer require mkwebdesign/filament-watchdog

包简介

Advanced security monitoring and intrusion detection plugin for FilamentPHP

README 文档

README

FilamentWatchdog Logo

FilamentWatchdog

Advanced security monitoring and intrusion detection plugin for FilamentPHP

Latest Version on Packagist Total Downloads License

Features

🛡️ Real-time Protection

  • Real-time file integrity monitoring
  • Automated malware detection with signature scanning
  • Activity logging and anomaly detection

🚨 Alert System

  • Email alerts for security events
  • Customizable notification thresholds
  • Real-time dashboard notifications

🔍 Forensic Tools

  • Detailed forensic analysis tools
  • Quarantine system for suspicious files
  • Emergency lockdown system

Installation

Install the package via Composer:

composer require mkwebdesign/filament-watchdog:^1.0

Publish the configuration file:

php artisan vendor:publish --tag=filament-watchdog-config

Optionally, publish the views (if you want to customize them):

php artisan vendor:publish --tag=filament-watchdog-views

Then run the auto-installer script from your Laravel root directory:

bash install-filament-watchdog.sh

And migrate the database:

php artisan migrate

Configuration

After publishing the config file, you can customize the settings in config/filament-watchdog.php:

return [
    'monitoring' => [
        'enabled' => true,
        'scan_interval' => 'everyMinute', // How often to run scans
    ],
    'alerts' => [
        'email' => [
            'enabled' => true,
            'recipients' => ['admin@yoursite.com'],
        ],
    ],
    'emergency' => [
        'auto_publish_views' => true,
        'lockdown_enabled' => true,
    ],
    // ... more settings
];

Cronjob Setup (Required)

FilamentWatchdog requires the Laravel scheduler to run automated security scans. Add the standard Laravel cronjob to your server:

# Edit your crontab
crontab -e

# Add this line (standard Laravel scheduler - runs every minute)
* * * * * cd /path/to/your/laravel/project && php artisan schedule:run >> /dev/null 2>&1

Example with full path:

* * * * * php /home/username/domains/yoursite.com/public_html/artisan schedule:run >> /dev/null 2>&1

Note: This is the standard Laravel scheduler cronjob that should run every minute. FilamentWatchdog will automatically schedule its security scans within this framework.

Manual scan commands:

# Run file integrity scan
php artisan watchdog:scan-integrity

# Run malware detection scan
php artisan watchdog:scan-malware

# Create new file baseline
php artisan watchdog:create-baseline

# Run complete security scan
php artisan watchdog:scan-all

Panel Registration

Register the plugin in your AdminPanelProvider:

use MKWebDesign\FilamentWatchdog\FilamentWatchdogPlugin;

// Inside the panel() method:
->plugin(FilamentWatchdogPlugin::make());

Usage

After installation, visit:

/admin/security/dashboard

to access the security monitoring interface.

Key Features:

  • Security Dashboard - Overview of system security status
  • File Monitoring - Real-time detection of file changes
  • Malware Scanner - Automated scanning for malicious files
  • Alert System - Email notifications for security events
  • Emergency Lockdown - Immediate site protection in case of threats
  • Quarantine System - Safe isolation of suspicious files

Requirements

  • PHP 8.1 or higher
  • Laravel 10.x or 11.x
  • FilamentPHP 3.x
  • Cronjob access on your server

Troubleshooting

Config Not Published?

If the configuration file doesn't appear in config/filament-watchdog.php, try:

# Clear caches first
php artisan config:clear
php artisan cache:clear

# Then publish again
php artisan vendor:publish --tag=filament-watchdog-config --force

# Verify the file exists
ls -la config/filament-watchdog.php

Cronjob Not Working?

  1. Check if the Laravel scheduler is configured correctly
  2. Verify the path to your Laravel project in the cronjob
  3. Ensure PHP is in your server's PATH
  4. Check cronjob logs: grep CRON /var/log/syslog

Permission Issues?

Make sure the web server user has write permissions to:

  • storage/app/ directory
  • storage/logs/ directory
  • storage/app/quarantine/ directory

Support

Need help? Feel free to:

  • Open an issue on GitHub
  • Contact us directly via email

Author

Martin Knops | MKWebDesign

License

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

Made with ❤️ by MKWebDesign

mkwebdesign/filament-watchdog 适用场景与选型建议

mkwebdesign/filament-watchdog 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 484 次下载、GitHub Stars 达 7, 最近一次更新时间为 2025 年 07 月 18 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「security」 「monitoring」 「malware」 「filament」 「intrusion-detection」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 mkwebdesign/filament-watchdog 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 mkwebdesign/filament-watchdog 我们能提供哪些服务?
定制开发 / 二次开发

基于 mkwebdesign/filament-watchdog 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-18