radioactivehamster / temporal
A date & time utility library for PHP.
0.3.1
2016-02-17 17:48 UTC
Requires
- php: >=5.5.0
- nesbot/carbon: ^1.21
Requires (Dev)
- phpspec/phpspec: ^2.4
- symfony/var-dumper: ^3.0
This package is not auto-updated.
Last update: 2024-11-21 00:48:43 UTC
README
A date & time utility library for PHP.
Install
$ composer require radioactivehamster/temporal
Usage
<?php use Temporal; // Returns an object representing the current month. $month = Calendar::month(); // Returns an object representing the current week. $week = Calendar::week(); // Returns an object representing the current day. $day = Calendar::day();
License
The MIT License (Expat). See the license file for details.