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 Expression Laravel Package

mtdowling/cron-expression

A PHP library for parsing and evaluating cron expressions. Check whether a schedule is due, get next/previous run dates, and iterate occurrences. Supports standard cron fields plus common extensions, useful for job schedulers and task runners.

View on GitHub
Deep Wiki
Context7
v1.2.0

Added

  • Added IDE, CodeSniffer, and StyleCI.IO support

Changed

  • Switched to PSR-4 Autoloading

Fixed

  • 0 step expressions are handled better
  • Fixed DayOfMonth validation to be more strict
  • Typos
v1.1.0

Added

  • Support for non-hourly offset timezones
  • Checks for valid expressions

Changed

  • Max Iterations no longer hardcoded for getRunDate()
  • Supports DateTimeImmutable for newer PHP verions

Fixed

  • Fixed looping bug for PHP 7 when determining the last specified weekday of a month
v1.0.4
  • Avoid infinity loop & division by zero #67
  • Fix getRunDate() shouldn't modify currentTime parameter #57
  • Missing anchors in regexp #63
  • Avoid annotation parsing by Doctrine #62
  • Optimization #52
  • Fixed #20 Weekday-Hash for Saturday and Sunday doesn't seem to work #53
  • Different timezone support #48
  • Fixed regexp for day of week #49
  • Set $currentTime as 'now' #36
  • Allowing multiple values for day of week field.
v1.0.3
  • Only set default timezone if the given $currentTime is not a DateTime instance (#34)
  • Fixes issue #28 where PHP increments of ranges were failing due to PHP casting hyphens to 0
  • Now supports expressions with any number of extra spaces, tabs, or newlines
  • Using static instead of self in CronExpression::factory
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.
djstarcom/laravel-breadcrumbs
djstarcom/laravel-server-timing
class-atlas/laravel-flitt
ipregistry/ipregistry-laravel
daimakuai-ext/config
tomassalazarlopez/laravel-filemanager
ergare17/tasks
magentron/elasticemail-php
anilcancakir/laravel-agent-mcp
callcocam/laravel-whatsapp-cloud
winavin/permissions
daimakuai-ext/reporter
springjk/laravel-admin
kwaadpepper/laravel-storage-manager
karlerss/laravel-db-script-manager
hexincorp/laravel-debugbar
quellabs/canvas
quellabs/annotation-reader
mydnic/volet-feature-board
wmde/fundraising-phpcs