radioactivehamster / temporal
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-09-26 00:09:28 UTC
README
PHP日期和时间实用程序库。
安装
$ composer require radioactivehamster/temporal
使用
<?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();
许可
MIT许可证(Expat)。有关详细信息,请参阅许可证文件。