Introduction

Aeon is a set of libraries that makes easier to work with PHP Date & Time in elegant Object Oriented way.

Quote

The word aeon /ˈiːɒn/, also spelled eon (in American English), originally meant "life", "vital force" or "being", "generation" or "a period of time", though it tended to be translated as "age" in the sense of "ages", "forever", "timeless" or "for eternity".

Wikipedia

Features

  • Full immutability
  • No dependencies
  • Object oriented interface
  • Mocking time in tests
  • Retry fragile operations
  • CLI application
  • Regional holidays detection
  • Business hours abstraction
  • Doctrine DBAL integration
  • Compatibility with all modern frameworks
  • Intuitive API and IDE autocompletion
  • Optional leap seconds support
  • High precision of elapsed time measurement
  • Smooth integration with built in \DateTimeInterface
Components

Calendar Interface - 1.x

Calendar Twig Interface - 1.x

Process Interface - 1.x

Retry Interface - 1.x

Calendar Holidays Interface - 1.x