Skip to content

panlatent/cron-expression-descriptor

Repository files navigation

Cron Expression Descriptor

Converts cron expressions into human readable descriptions in PHP.

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.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.

License

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

About

Converts cron expressions into human readable descriptions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages