Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Cron Manager Bundle Laravel Package

phakpoom/cron-manager-bundle

A PHP bundle for managing cron jobs: register scheduled tasks, review their timing, and keep cron-driven work organized from one place. Useful when you want a lightweight, centralized way to declare and inspect recurring jobs instead of scattering crontab entries across servers.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Framework-fit decision (blocking): This is a Symfony2 bundle, not a Laravel package. Symfony 2.x reached end-of-life in 2017 (2.8 in Nov 2018). It cannot be installed into a Laravel application — different container, bundle registration, config tree, and kernel lifecycle. Any roadmap item assuming this is a drop-in Laravel dependency is built on a false premise; correct it before estimation.
  • Build vs. buy for dynamic scheduling: The underlying capability — programmatically reading/writing the system crontab so schedules can be created at runtime (per-tenant jobs, user-defined reports, customer-configurable syncs) — is a legitimate product need. This package is a reference implementation of that idea, not a viable dependency. Treat it as a 1-hour design read, not a procurement.
  • Default path for Laravel roadmaps: Laravel already ships scheduling (app/Console/Kernel.php → $schedule, Schedule::command()->daily(), withoutOverlapping(), onOneServer()). Any "we need cron management" epic should start from the framework scheduler plus spatie/laravel-schedule-monitor for visibility, and only escalate if the requirement is genuinely runtime-mutable schedules.
  • Infrastructure vs. application layer: Decides whether cron management belongs in the product at all. If jobs are known at deploy time, schedule them in code and ship with the app. If they must be editable by end users at runtime, prefer a database-backed scheduler table + a single static * * * * * php artisan schedule:run entry, or a managed scheduler (Forge, Cloud Scheduler, EventBridge) — not a library that rewrites crontab.
  • Security and compliance scope: A package that shells out to crontab needs write access to the host crontab and typically elevated privileges. That pulls in audit logging, input sanitisation (cron injection via user-supplied command strings), and secrets handling for any credentials in the command line. This is a material scope expansion most roadmaps underestimate.
  • Support and maintenance risk: 0 stars, 0 dependents, no community, effectively a single-maintainer artifact. Adopting it means owning a fork of an EOL-framework bundle permanently. That is a standing tax on every future PHP upgrade.

When to Consider This Package

Do not adopt for any Laravel or modern Symfony project. The adoption criteria below are deliberately strict; realistically none are met.

  • You are maintaining a live Symfony 2.x application (not 3/4/5/6/7) that cannot be upgraded, and you need crontab manipulation now.
  • You have read the source and confirmed it sanitises command strings and does not blindly interpolate user input into the crontab — injection here is remote code execution as the web user.
  • You accept permanent ownership: vendoring or forking it, since upstream activity is negligible and there is exactly one plausible maintainer.
  • Your deployment model permits the PHP process to write the host crontab (bare metal or a long-lived VM — not containerised, immutable, or autoscaled infrastructure, where crontab writes are ephemeral and silently lost on redeploy).

Look elsewhere if any of the following is true — which covers essentially every realistic case:

  • You are on Laravel: use the built-in scheduler, plus spatie/laravel-schedule-monitor for alerting on missed/failed runs, plus laravel/horizon or a queue for anything long-running or retryable.
  • You are on Symfony 4+: use symfony/messenger with the scheduler component, or dragonmantank/cron-expression if you only need expression parsing/matching.
  • Schedules are known at deploy time: put them in version control. No runtime manager needed.
  • Schedules must be user-editable: store them in the database and evaluate on a single per-minute heartbeat, or use a managed cloud scheduler.
  • You run containers, Kubernetes, or ephemeral instances: use Kubernetes CronJobs or a managed scheduler.
  • You need an audit trail or RBAC over who changed which schedule — this package provides none of that.

How to Pitch It (Stakeholders)

Executive summary — recommendation: do not adopt.

phakpoom/cron-manager-bundle is a Symfony 2 bundle for managing the system crontab. Symfony 2 is end-of-life and unsupported since 2018, so the package is incompatible with our Laravel stack and cannot be installed without effectively maintaining a private fork of an abandoned library. It has zero stars, zero dependents, and no community — a single-maintainer artifact with no support path.

The product need it gestures at — letting users or tenants define recurring jobs at runtime — is real and worth a roadmap slot. But the sensible Laravel answer is cheaper and safer: the framework's built-in scheduler for known jobs, a single schedule:run heartbeat plus a database table for user-defined ones, and spatie/laravel-schedule-monitor for operational visibility. That path is maintained, testable, and keeps cron writes out of the application process entirely.

The main risk we avoid by declining is security: writing to the host crontab requires elevated host access, and any user-supplied command string that reaches it unsanitised is a code-execution vector running as the web user. It also fails on containerised infrastructure, where crontab writes vanish on the next deploy — a class of bug that surfaces in production, not in staging.

Ask: close this as a dependency candidate and reallocate the effort to a spike on the framework scheduler plus a DB-backed schedule table, estimated at a fraction of the cost of forking and supporting this bundle. Keep the package as a design reference only — a short read of its approach is free, and that is the extent of its value to us.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk