panlatent/cron-expression-descriptor
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.
panlatent/cron-expression-descriptor 适用场景与选型建议
panlatent/cron-expression-descriptor 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 667.79k 次下载、GitHub Stars 达 21, 最近一次更新时间为 2019 年 08 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 panlatent/cron-expression-descriptor 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 panlatent/cron-expression-descriptor 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 667.79k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 21
- 点击次数: 22
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-08-06