kwetal / dateutils
A number of utility methods for handling date related operations, wrapped in a object-oriented interface
1.1.0
2014-11-10 20:07 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: 4.3.*
This package is not auto-updated.
Last update: 2025-02-25 05:41:45 UTC
README
A number of utility methods for handling date related operations, wrapped in a object-oriented interface
Installation
The recommended way to install DateUtils is through composer.
Just create a composer.json
file for your project:
{ "require": { "kwetal/dateutils": "dev-master" } }
And run these two commands to install it:
$ curl -sS https://getcomposer.org/installer | php
$ composer install
Now you can add the autoloader, and you will have access to the library:
<?php require 'vendor/autoload.php';
Unit tests
After installing, from the root project dir run
$ vendor/bin/phpunit