Weave Code
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 Expression Bundle Laravel Package

setono/cron-expression-bundle

Symfony bundle integrating dragonmantank/cron-expression. Provides a CronExpression form field and a Doctrine DBAL type to store Cron\CronExpression in entities, making it easy to validate, edit, and persist cron schedules in your app.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature Development: Enables seamless integration of cron-like scheduling into Symfony applications, allowing teams to build time-based workflows (e.g., automated reports, batch processing, or user notifications) without reinventing parsing/validation logic.
  • Roadmap Alignment: Supports migration to modern Symfony (7/8) and PHP (8.1+) stacks, reducing technical debt for long-term projects.
  • Build vs. Buy: Eliminates the need to build custom cron parsers/validators, reducing development time and maintenance overhead. Ideal for teams prioritizing reliability over customization.
  • Use Cases:
    • Admin Dashboards: Let users configure recurring tasks (e.g., "Run daily at 2 AM") via forms with real-time validation.
    • Event-Driven Systems: Store cron expressions in databases (via Doctrine DBAL) for dynamic scheduling logic.
    • Compliance/Regulatory: Audit-proof scheduling with standardized cron syntax validation.

When to Consider This Package

  • Adopt if:
    • Your Symfony app needs user-editable cron schedules with validation (e.g., forms, APIs).
    • You’re using Doctrine ORM and want to store cron expressions as database columns.
    • Your team prioritizes maintenance efficiency over deep customization (e.g., no need for custom parsing logic).
    • You’re on Symfony 7/8 + PHP 8.1+ (active development; Symfony 4 dropped in v1.7.0).
  • Look elsewhere if:
    • You need non-cron scheduling (e.g., ICAL, human-readable intervals).
    • Your stack is non-Symfony or uses non-Doctrine databases (e.g., MongoDB).
    • You require advanced cron features (e.g., timezone-aware parsing) not covered by dragonmantank/cron-expression.
    • Your team prefers low-level control over cron syntax (e.g., custom validation rules).

How to Pitch It (Stakeholders)

For Executives: "This bundle lets us ship cron-based features (e.g., automated workflows, user-defined schedules) 3x faster by leveraging a battle-tested, Symfony-native solution. It reduces dev time, ensures consistency, and supports our roadmap for modern PHP/Symfony. For example, we could add a ‘Recurring Tasks’ feature to our admin panel in 2 days instead of 2 weeks—with built-in validation to prevent errors."

For Engineering: *"This wraps dragonmantank/cron-expression, a robust cron parser, into a Symfony bundle with:

  • Form integration: Pre-built CronExpressionType for easy UI inputs (with validation).
  • Doctrine support: Store cron strings as native DB columns via CronExpressionType.
  • Modern stack: Actively maintained for Symfony 7/8 + PHP 8.1+. Tradeoff: Minimal customization needed; ideal for teams that want reliability over reinvention. Example use: Let users schedule reports via a form—validated in real-time."*
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.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity