panlatent/cron-expression-descriptor
最新稳定版本:1.1.0
Composer 安装命令:
composer require panlatent/cron-expression-descriptor
包简介
Converts cron expressions into human readable descriptions.
README 文档
README
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.
统计信息
- 总下载量: 538.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 3
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04