charonlab / charon-clock
Provides flexible tools for handling time-related operations in PHP applications.
1.0.0
2024-01-27 16:36 UTC
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- psr/clock: dev-master
Requires (Dev)
- charonlab/coding-standard: 1.2.x-dev
- phpunit/phpunit: 10.5.x-dev
- vimeo/psalm: 6.x-dev
README
charon-clock is an implementation of an interface for reading the system clock in a simple and intuitive way. Following the principles described in the PSR-20 document, the library provides flexible tools for handling time-related operations in PHP applications.
Features
- Unified Interface: The library offers a consistent interface for reading the system clock, facilitating integration and handling across various projects.
- Ease of Use: With a clear interface, the library is user-friendly for both beginners and experienced developers.
- Flexibility: The library allows for customization of the method for reading the system clock to meet specific application requirements, enabling flexible time management.
- Standards Compliance: The PSR-20 implementation ensures compliance with PHP-FIG guidelines, easing integration with the existing PHP tool and library ecosystem.
Installation
Use the composer to install:
$ composer require charonlab/charon-clock
Documentation
Documentation is at docs
Documentation
Documentation is at docs
Support
License
The MIT License (MIT). Please see License for more information.