zpm-packages/cron-manager-filament 问题修复 & 功能扩展

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

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

zpm-packages/cron-manager-filament

最新稳定版本:v1.0.0

Composer 安装命令:

composer require zpm-packages/cron-manager-filament

包简介

Filament plugin for managing system and database-synced cron jobs.

README 文档

README

crons

Filament Cron Manager

Filament plugin for zpm-packages/cron-manager-laravel that exposes cron management through the admin panel.

Installation

composer require zpm-packages/cron-manager-filament

Register the plugin on your panel:

use ZPMPackages\FilamentCronManager\FilamentCronManagerPlugin;

$panel->plugin(FilamentCronManagerPlugin::make());

Behavior

  • when cron-manager.sync_with_database is false, the plugin registers a direct system management page
  • when cron-manager.sync_with_database is true, the plugin registers a resource backed by the database table

On Windows, the direct system management page can show both package-managed cron jobs and imported Task Scheduler entries. Imported tasks are mapped best-effort from their triggers and may use descriptive schedule labels instead of a raw cron expression.

Visibility is configurable in config/cron-manager.php:

  • cron-manager.system_page.show_managed_cron_jobs
  • cron-manager.system_page.show_system_task_schedules

Schedule UX

In direct system mode, the create and edit forms use a preset schedule select.

In database-synced mode, the resource form still suggests common schedules like every minute, every 5 minutes, every hour, and every day while allowing custom cron expressions.

The command field also includes a tip for a quick smoke test:

php /schedule.php "Cron comment"

Expected output:

Cron comment ran at 2026-05-06 13:45:00

Monthly and yearly presets are surfaced as Unix-only options because the Windows Task Scheduler adapter supports only the common minute, hour, day, and week-based schedules for creation.

The schedule column in both Filament tables now prefers a human-readable primary label, shows the raw cron expression underneath when available, and wraps long schedule text within a 400px column.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固