承接 xpl/datetime 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

xpl/datetime

Composer 安装命令:

composer require xpl/datetime

包简介

Enhancements to Date and Time Extension shipped with PHP

README 文档

README

XPL DateTime component attempts to improve the Date and Time Extension shipped with PHP. It adds some enhancements while is almost fully compatible with the default extension. It is also more ISO 8601 compilant.

License Version Status SensioLabsInsight
License Latest Unstable Version Build Status Coverage Status SensioLabsInsight

Documentation

The component may be 100% compatible with standard Date and Time Extension classes but the names used are based on ISO 8601.

To replace the original PHP implementation with this component, include the following PHP snippet:

use Xpl\DateTime\DateTime as DateTime;
use Xpl\DateTime\DateTimeImmutable as DateTimeImmutable;
use Xpl\DateTime\DateTimeInterface as DateTimeInterface;
use Xpl\DateTime\Duration as DateInterval;
use Xpl\DateTime\TimeZone as DateTimeZone;

Just use like the standard PHP extension classes.

Installation

Just use composer to add the dependency:

composer require xpl/datetime:dev-master

Or add the dependecy manually:

  1. Update composer.json file with the lines:

    {
        "require": {
            "xpl/datetime": "dev-master"
        }
    }
    
  2. And update the dependencies:

    composer update xpl/datetime
    

Authorship

Current maintainer:

This component starts as an utility class used on an internal project. This is a fork of the idea rewrited from scratch.

Copyright and License

XPL DateTime is licensed under the MIT License – see the LICENSE file for details.

If you did not receive a copy of the license, contact with the author.

统计信息

  • 总下载量: 183
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-12-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固