panlatent/cron-expression-descriptor

Converts cron expressions into human readable descriptions.

1.1.0 2021-12-06 20:30 UTC

This package is auto-updated.

Last update: 2024-12-16 20:59:21 UTC


README

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.