mtdowling/cron-expression
Abandoned; use dragonmantank/cron-expression. CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
v1.2.3
81M downloads/mo
#1385 most downloaded on Packagist
mtdowling/cron-expression
What this package is like to depend on
Last release 7 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 2.9 years
Most releases are documented
notes for 8 of 9 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
9 releases · first in 2012
0 releases in the last 12 months
see the full history below
Release timeline
8 releases · Jul 2012 to Dec 2019
2013
2015
2017
2019
2021
2023
2025
Releases
latest 9-
v1.2.328 Dec 2019 -
v1.2.123 Jan 2017 -
v1.2.0no dateRelease notes
Open source →Added
- Added IDE, CodeSniffer, and StyleCI.IO support
Changed
- Switched to PSR-4 Autoloading
Fixed
- 0 step expressions are handled better
- Fixed
DayOfMonthvalidation to be more strict - Typos
Release notes
Open source →Added
- Added IDE, CodeSniffer, and StyleCI.IO support
Changed
- Switched to PSR-4 Autoloading
Fixed
- 0 step expressions are handled better
- Fixed
DayOfMonthvalidation to be more strict - Typos
-
v1.1.026 Jan 2016Release notes
Open source →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
Release notes
Open source →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.411 Jan 2015Release notes
Open source →- 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.323 Nov 2013Release notes
Open source →- 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
Release notes
Open source →Added
- Now supports expressions with any number of extra spaces, tabs, or newlines
Changed
- Using static instead of self in
CronExpression::factory
Fixed
-
v1.0.205 Apr 2013Nothing published for this version
-
v1.0.106 Mar 2013 -
v1.0.015 Jul 2012