cron-expression
period
cron-expression | period | |
---|---|---|
1 | 1 | |
13 | 714 | |
- | 0.3% | |
0.0 | 6.6 | |
about 2 years ago | 27 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cron-expression
-
bakame/cron: Parse, Build and Validate CRON Expression. Calculate run dates and determine if a CRON expression is due
I created yet another CRON expression parser library for PHP you can see it https://github.com/bakame-php/cron-expression. The main reason was that I was getting confused by the public API of the most downloaded one on packagist https://packagist.org/packages/dragonmantank/cron-expression and since I liked the engine behind it, I tried to refactor it to expose a different set of API. Hopefully you will like this alternate take and yes it is PHP8.1+ only. And no I did not try to create PRs for that because it was a huge BC break for the original source repo which is still badass.
period
What are some alternatives?
icalendar-generator - Generate calendars in the iCalendar format
Carbon - A simple PHP API extension for DateTime.
period - Complex period comparisons
CalendR - The missing PHP 5.3+ calendar management library.
Cron - Cron API
Chronos - A standalone DateTime library originally based off of Carbon
ip - Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support.
Yasumi - The easy PHP Library for calculating holidays
croner - Trigger functions or evaluate cron expressions in JavaScript or TypeScript. No dependencies. Most features. Node. Deno. Bun. Browser.
ExpressiveDate - A fluent extension to PHPs DateTime class.
opening-hours - Query and format a set of opening hours
Duration for PHP - Working with durations made easy