File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1010
1111- Lightweight Cron expression parser library for PHP.
1212- Very ** fast** because it bails early in case a segment doesnt match.
13- - Supports PHP5.4 (if you are old school) to PHP7.3 (if you are cool).
1413- Real [ benchmark] ( https://github.com/adhocore/php-cron-bench ) shows it is about 9.64x to 10.57x faster than ` dragonmantank/cron-expression `
1514
1615## Installation
1716
1817``` bash
1918composer require adhocore/cron-expr
20- ```
2119
20+ # PHP5.6 or lower
21+ composer require adhocore/cron-expr:0.1.0
22+ ```
2223
2324## Usage
2425
@@ -63,9 +64,6 @@ $expr = new Expression;
6364$dueJobs = $expr->filter($jobs, time());
6465```
6566
66- ### Stabillity
67- Although not yet in v1.0, but the library and the API it provides is pretty stable and will not be changed too broadly.
68-
6967### Real Abbreviations
7068
7169You can use real abbreviations for month and week days. eg: ` JAN ` , ` dec ` , ` fri ` , ` SUN `
@@ -95,3 +93,11 @@ Following modifiers supported
9593- * Day of Week / 5th segment:*
9694 - `L` stands for last weekday of month (eg: `2L` is last monday)
9795 - `#` stands for nth day of week in the month (eg: `1#2` is second sunday)
96+
97+ ## LICENSE
98+
99+ > © ; [ MIT] ( ./LICENSE ) | 2017-2019, Jitendra Adhikari
100+
101+ ## Credits
102+
103+ This project is release managed by [ please] ( https://github.com/adhocore/please ) .
You can’t perform that action at this time.
0 commit comments