Awesome
Cron Expression Descriptor
Converts cron expressions into human readable descriptions in PHP.
The library is PHP version of bradymholt/cron-expression-descriptor (C#).
Installation
It's recommended that you use Composer to install this project.
$ composer require panlatent/cron-expression-descriptor
This will install the library and all required dependencies. The project requires PHP 7.1 or newer.
Usage
echo (new Panlatent\CronExpressionDescriptor\ExpressionDescriptor('23 12 * JAN *'))->getDescription();
// OUTPUT: At 12:23 PM, only in January
Ports
This library has been ported to several other languages.
- C# - https://github.com/bradymholt/cron-expression-descriptor
- JavaScript - https://github.com/bradymholt/cRonstrue
- Java - https://github.com/RedHogs/cron-parser
- Java - https://github.com/voidburn/cron-expression-descriptor
- Ruby - https://github.com/alpinweis/cronex
- Python - https://github.com/Salamek/cron-descriptor
- Go - https://github.com/lnquy/cron
License
The Cron Expression Descriptor is open-sourced software licensed under the MIT license.