glucnac/datetimemanager

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

DateTimeManager provides useful tools to manipulate DateTime objects in an object-oriented way (instance creation, adding or subtracting dates or times, intervals), or to easily fake the current date for the whole application implementing the library (for testing purposes for example).

dev-master 2021-08-13 14:49 UTC

This package is auto-updated.

Last update: 2021-11-13 15:29:23 UTC


README

Source Code Latest Version Software License PHP Version Build Status Coverage Status Total Downloads

DateTimeManager provides useful tools to manipulate DateTime objects in an object-oriented way (instance creation, adding or subtracting dates or times, intervals), or to easily fake the current date for the whole application implementing the library (for testing purposes for example).

It is mainly a wrapper of DateTime and DateInterval.

This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.

Installation

The preferred method of installation is via Composer. Run the following command to install the package and add it as a requirement to your project's composer.json:

composer require GlucNAc/DateTimeManager

Documentation

Check out the documentation website for detailed information and code examples.

Contributing

Contributions are welcome! Please read CONTRIBUTING for details.

Copyright and License

The GlucNAc/DateTimeManager library is copyright © GlucNAc and licensed for use under the MIT License (MIT). Please see LICENSE for more information.