We curate open-source GitHub repositories matching “best php date and time libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.
Carbon is a date and time manipulation library for PHP that extends the native DateTime class. It provides a set of tools for calculating, formatting, and comparing dates and times using a simplified, human-readable syntax. The library utilizes a fluent interface and static factory methods to allow for chained method calls and intuitive object instantiation. It supports both mutable and immutable state options to manage how date objects are modified and returned. The toolset covers temporal data management, including time zone handling and localization-based formatting to convert date compon
Carbon is the industry-standard PHP library for date and time manipulation, providing comprehensive support for immutable objects, timezone handling, interval calculations, and human-readable formatting that directly addresses your requirements.
🗓 A library to help you work with dates in multiple languages, based on Carbon.
This library extends Carbon to provide robust date and time manipulation with a focus on multi-language localization, making it a strong choice for handling complex date formatting requirements.