PHPackages                             duyvuseldat/convert-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. duyvuseldat/convert-timezone

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

duyvuseldat/convert-timezone
============================

convert timezone for lumen and laravel

0104PHP

Since Oct 31Pushed 7y agoCompare

[ Source](https://github.com/SunflowerNguyen/ConvertTimezone)[ Packagist](https://packagist.org/packages/duyvuseldat/convert-timezone)[ RSS](/packages/duyvuseldat-convert-timezone/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

ConvertTimezone
===============

[](#converttimezone)

convert time for lumen and laravel

How to use

For Lumen

```
Open bootstrap/app.php and register provider

    $app->register(DuyVuSeldat\ConvertTimeZone\ConvertTimezoneServiceProvider::class);

```

For Laravel

```
Open config/app.php and add the service provider to your providers array.

    DuyVuSeldat\ConvertTimeZone\ConvertTimezoneServiceProvider::class

```

use DuyVuSeldat\\ConvertTimeZone\\Facades\\ConvertTimezone;

```
ConvertTimeZone::convert('02-10-2018 18:19:00' , 'Asia/Bangkok' , 'UTC'); //output  2018-10-02 11:19:00

ConvertTimeZone::convert('02-10-2018 18:19:00' , 'Asia/Bangkok' , 'UTC' , 'Y-m-d'); //output  2018-10-02

GET LIST TIME ZONE

    ConvertTimeZone::getList(); // output [ 'UTC' => '(UTC+00:00) UTC', ..... ]

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d9604846040c8c33770c4875be4f960bd0d1a92abae5da57b817264e0d1c1537?d=identicon)[sunflowernguyen](/maintainers/sunflowernguyen)

---

Top Contributors

[![duyvuphdv](https://avatars.githubusercontent.com/u/25800660?v=4)](https://github.com/duyvuphdv "duyvuphdv (2 commits)")

### Embed Badge

![Health badge](/badges/duyvuseldat-convert-timezone/health.svg)

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

###  Alternatives

[ffi/location

PHP library for determining the physical location of binaries

1339.8k7](/packages/ffi-location)[getkirby/geo

Kirby Geo

223.5k](/packages/getkirby-geo)

PHPackages © 2026

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