calendar

📅 PHP Date & Time library that solves common problems in object oriented, immutable way. (by aeon-php)

Calendar Alternatives

Similar projects and alternatives to calendar

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better calendar alternative or higher similarity.

calendar reviews and mentions

Posts with mentions or reviews of calendar. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-26.
  • Do you use a DateTime wrapper?
    5 projects | /r/PHP | 26 Mar 2022
    https://github.com/aeon-php/calendar comes with object representation of TimeUnit, more advanced iterators over TimePeriods, time ranges and overlaps detection, leap seconds support, Unix/UTC/TAI/GPS timestamps plus few handy extensions like holidays, business hours, retries, precise sleep, stopwatch, rate limiter. It’s a wrapper on an excellent native DateTime that does not extend it.
  • Aeon Calendar library pre 1.0 release feedback request
    1 project | /r/PHP | 23 Mar 2021
    Hey, We are planning to release version 1.0 with long term support of https://github.com/aeon-php/calendar library and we thought it's a good time to ask for some feedback. How this library is different from other great libraries available in the wild? The main difference is that it does not extend \DateTime or \DateTimeImmutable, but instead it provides own fully immutable DateTime replacement. Why? There are few reasons but the most important one is to provide better and safer, Object Oriented API to work with DateTime/Date/Time/TimeZone/TimeUnit and TimePeriods. Safer means that the whole library API is designed to expose commonly misunderstood concepts and make them explicit, like for example adding month to given date expects to precisely define number of days DateTime::add(TimeUnit::days(30)); as a TimeUnit instance or use relative time unit DateTime::add(RelativeTimeUnit::month()); Calendar is the core library and it comes with few extra things like support for LeapSeconds, different Time Epoch (TAI, GPS), TimePeriods (iterating, overlapping, merging, finding gaps, sorting etc) or precise time measurement. There are few more libraries built on top of calendar, like for example Business Hours, Holidays (which is just an abstraction and bridge for other libraries), Rate Limiter, Retry but they all waits for the the calendar to be stabilized. You can find them here https://github.com/aeon-php

Stats

Basic calendar repo stats
2
186
3.5
3 months ago

aeon-php/calendar is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of calendar is PHP.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com