承接 jayeshchavda/alltime 相关项目开发

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

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

jayeshchavda/alltime

Composer 安装命令:

composer require jayeshchavda/alltime

包简介

This is a library which fetches current time as per request from WorldTimeApi.

README 文档

README

Created for trial of composer packaging

This library will fetch you current time for any selected time zone. You just have to initialize the class and call the methods with proper parameters.

Initializing the library: 1 - Add "use jayeshchavda\alltime\AllTime" at the begining of the PHP file. 2 - Initilize the class using "$var = new AllTime()". 3 - Call any method on $var from the given below as per your need.

Method 1: getTimeZoneList(); Description: NO PARAMETERS REQUIRED. This methods will give you the entire list of time zones available so that you can choose and pass that to the other methods that feches its timezone.

Method 2: getCurrentTimeByZone(); Description: Parameter - The name of the timezone. Type: Parameter should be in the form of string. Details: This methods will give you the object of current time for your requested zone. You can access it using $yourObjectVar->datetime;

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2020-07-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固