PHPackages                             aron/laravel-timezone - 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. aron/laravel-timezone

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

aron/laravel-timezone
=====================

根绝国家code获取对应时区

v1.0.0(5y ago)24.2k—1.3%MITPHPPHP ^7.4 || ^8.0

Since Mar 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/fs-platform/laravel-timezone)[ Packagist](https://packagist.org/packages/aron/laravel-timezone)[ RSS](/packages/aron-laravel-timezone/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

warehouse
---------

[](#warehouse)

- 根据国家code 获取对应时区
- 本拓展满足psr2,psr4 规范
- 已通过单元测试

基本使用
----

[](#基本使用)

1. 安装

```
$ composer require aron/laravel-timezone
```

2. 发布config 文件

```
$ php artisan vendor:publish --provider="Aron\Timezone\Provider\TimezoneServiceProvider"
```

4. 开始使用

```
 \Timezone::getTimezoneByCountryCode($countryCode);
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1926d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/801ed6bcf8b53385062e86a1e554e4620b08e69907b89768d82c21e8f7d2d0f2?d=identicon)[Aron.Yao](/maintainers/Aron.Yao)

### Embed Badge

![Health badge](/badges/aron-laravel-timezone/health.svg)

```
[![Health](https://phpackages.com/badges/aron-laravel-timezone/health.svg)](https://phpackages.com/packages/aron-laravel-timezone)
```

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

592.6k2](/packages/crumbls-layup)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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