ananta/apcommon
Composer 安装命令:
composer require ananta/apcommon
包简介
A set of commonly used php functions.
README 文档
README
A class to make your custom PHP development faster.
Example
require_once "path/to/APCommon.php"; $apcmn=new APCommon; echo $apcmn->time_ago("2016-11-28T18:12:29+01:00");
See howto.php for more info and examples.
Note
The time_ago() method is dependent on your server time. Use this format '2016-11-28T18:12:29+01:00' to get accurate output. '2016-11-28' may give 0 if the supplied date and today is similar.
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-20