/cron-expression-descriptor

Converts cron expressions into human readable descriptions.

Primary LanguagePHPMIT LicenseMIT

Cron Expression Descriptor

Converts cron expressions into human readable descriptions.

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License

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.0 or newer.

Usage

echo (new Panlatent\CronExpressionDescriptor\ExpressionDescriptor('23 12 * JAN *'))->getDescription();
// OUTPUT: At 12:23 PM, only in January

License

The Cron Expression Descriptor is open-sourced software licensed under the MIT license.