怎样安装nesbot/carbon

2018年9月12日 | 分类: 【技术】

参考:https://www.leigougou.com/article/53
参考:https://blog.csdn.net/Zhihua_W/article/details/53484562

【安装】

参考:https://amon.org/composer
参考:https://packagist.org/packages/nesbot/carbon
参考:https://pkg.phpcomposer.com/#how-to-use-packagist-mirror

通过 Composer 来安装 Carbon:

composer require nesbot/carbon

【应用】

官网:https://github.com/dambergautam/timezone

Calculate date differences, list php timezones, convert date to provided timezone using nesbot/carbon package.