PHPackages                             jayeshchavda/alltime - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. jayeshchavda/alltime

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jayeshchavda/alltime
====================

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

1.4(5y ago)010PHP

Since Jul 11Pushed 5y agoCompare

[ Source](https://github.com/jayeshchavda/AllTimeApi)[ Packagist](https://packagist.org/packages/jayeshchavda/alltime)[ RSS](/packages/jayeshchavda-alltime/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)DependenciesVersions (7)Used By (0)

AllTimeApi
==========

[](#alltimeapi)

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-&gt;datetime;

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

2132d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29572926?v=4)[Jayesh Chavda](/maintainers/jayeshchavda)[@jayeshchavda](https://github.com/jayeshchavda)

---

Top Contributors

[![jayeshchavda](https://avatars.githubusercontent.com/u/29572926?v=4)](https://github.com/jayeshchavda "jayeshchavda (15 commits)")

### Embed Badge

![Health badge](/badges/jayeshchavda-alltime/health.svg)

```
[![Health](https://phpackages.com/badges/jayeshchavda-alltime/health.svg)](https://phpackages.com/packages/jayeshchavda-alltime)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
