Skip to content

Commit 895eade

Browse files
authored
docs: update readme
1 parent bc65912 commit 895eade

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

readme.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@
1111
- Lightweight Cron expression parser library for PHP.
1212
- Very fast because it bails early in case a segment doesnt match.
1313

14+
1415
## Installation
16+
1517
```bash
1618
composer require adhocore/cron-expr
1719
```
1820

21+
1922
## Usage
23+
2024
```php
2125
use Ahc\Cron\Expression;
2226

@@ -31,10 +35,11 @@ $expr->isCronDue('*/1 * * * *', time());
3135
```
3236

3337
### Real Abbreviations
34-
You can use real abbreviations for month and week days. eg: `JAN`, `dec`, `fri`, `SUN`
3538

39+
You can use real abbreviations for month and week days. eg: `JAN`, `dec`, `fri`, `SUN`
3640

3741
### Tags
42+
3843
Following tags are available and they are converted to real cron expressions before parsing:
3944

4045
- *@yearly* or *@annually* - every year
@@ -49,6 +54,7 @@ Following tags are available and they are converted to real cron expressions bef
4954
- *@always* - every minute
5055

5156
### Modifiers
57+
5258
Following modifiers supported
5359

5460
- *Day of Month / 3rd segment:*

0 commit comments

Comments
 (0)