承接 vsg24/easydatetime 相关项目开发

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

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

vsg24/easydatetime

Composer 安装命令:

composer require vsg24/easydatetime

包简介

Jalali (Shamsi) DateTime class written in PHP, abstraction, easy, little configuration

README 文档

README

EasyDateTime is a Jalali/Shamsi and Gregorian class based on jDateTimePlus that aims to simplify common DateTime tasks by abstracting the complex layers. It's probably the simplest solution for Jalali/Shamsi calendar issues in PHP.

About this class

EasyDateTime is directly based on jDateTimePlus 1.0.0 which is itself based on jDateTime 2.2.0

Requirements

  • PHP >= 5.4.
  • Being based on jDateTimePlus, this package has a dependency on jDateTimePlus 1.0.0+

Installation

Using Composer

You can install this package using composer. Add this package to your composer.json:

"require": {
	"vsg24/easydatetime": "dev-master"
}

or if you prefer command line, change directory to project root and:

php composer.phar require "vsg24/easydatetime":"dev-master"

Manual Installation

Get a copy of package source code. You can do this in two ways:

  1. Download ZIP version of the source code and unzip it in desired location
  2. Run git clone https://github.com/vsg24/easydatetime.git to clone this repository

After getting a copy of source code, it is enough to include easydatetime.class.php where you need to use it.

require_once 'path/to/source/easydatetime.class.php';

Examples

Please take a look at examples.php or see examples-compiled.html for working examples.

Important Note: If you want to do more complicated things, you can access an instance of jDatetimePlus from an EasyDateTime object:

$edtObj->$jDatetimePlus

Contributors:

License

EasyDateTime was created by Vahid Amiri Motlagh and released under the MIT License.

Copyright (C) 2016 Vahid Amiri Motlagh

The MIT License (MIT)

Copyright (C) 2016 Vahid Amiri Motlagh

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

1- The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

2- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固