Download the PHP package mike-tralala/cron-expression without Composer
On this page you can find all versions of the php package mike-tralala/cron-expression. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mike-tralala/cron-expression
More information about mike-tralala/cron-expression
Files in mike-tralala/cron-expression
Download mike-tralala/cron-expression
More information about mike-tralala/cron-expression
Files in mike-tralala/cron-expression
Vendor mike-tralala
Package cron-expression
Short Description A library to use cron expressions in PHP
License MIT
Package cron-expression
Short Description A library to use cron expressions in PHP
License MIT
Please rate this library. Is it a good library?
Informations about the package cron-expression
PHP Cron Expression Parser
This cron-expression
library can parse cron expressions like * * * * *
and check if
it is due or not. You are also able to determine the next or previous running dates.
This parser can handle anything the normal cron syntax accepts. with 1 exception and that are the named constructs (e.g. mon-thu or jan-dec).
Installing
Add the dependency to your project:
Usage
CRON Expressions
A CRON expression is a string representing the schedule for a particular command to execute. The parts of a CRON schedule are as follows:
* * * * *
- - - - -
| | | | |
| | | | |
| | | | +----- day of week (0 - 6) (Sunday=0)
| | | +---------- month (1 - 12)
| | +--------------- day of month (1 - 31)
| +-------------------- hour (0 - 23)
+------------------------- min (0 - 59)
Requirements
- PHP 5.5+
- PHPUnit is required to run the unit tests
- Composer is required to run the unit tests
All versions of cron-expression with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.0
The package mike-tralala/cron-expression contains the following files
Loading the files please wait ....