PHPackages                             soap/laravel-timezones-list - 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. soap/laravel-timezones-list

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

soap/laravel-timezones-list
===========================

Time zone list and helpers for Laravel application

v1.0.0(8mo ago)2745[5 PRs](https://github.com/soap/laravel-timezones-list/pulls)MITPHPPHP ^8.2CI passing

Since Aug 5Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/soap/laravel-timezones-list)[ Packagist](https://packagist.org/packages/soap/laravel-timezones-list)[ Docs](https://github.com/soap/laravel-timezones-list)[ GitHub Sponsors]()[ RSS](/packages/soap-laravel-timezones-list/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (13)Versions (10)Used By (0)

Time zone list and helpers for Laravel application
==================================================

[](#time-zone-list-and-helpers-for-laravel-application)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c893565c54df35f42535d360dd821dc3847d1c064205e93d46481532ef270ec1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f61702f6c61726176656c2d74696d657a6f6e65732d6c6973742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/soap/laravel-timezones-list)[![GitHub Tests Action Status](https://camo.githubusercontent.com/39e6cb57eb278427731b5ede9068159f5ad14dd2c549e7982aa3983387714a31/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f61702f6c61726176656c2d74696d657a6f6e65732d6c6973742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/soap/laravel-timezones-list/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/1bd0226ae0d2c99d250187f63756de84404a67bc7291184710959aa1cd02786c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f61702f6c61726176656c2d74696d657a6f6e65732d6c6973742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/soap/laravel-timezones-list/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/eee7616e7fc626aa7f3eea94f28620b65afcedc20bec2ccfaffa8480e9ae8c25/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f61702f6c61726176656c2d74696d657a6f6e65732d6c6973742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/soap/laravel-timezones-list)

Timezones Helper for Laravel application. It may be used to create Select List input options. This package is based on [baspa/laravel-timezones](https://github.com/Baspa/laravel-timezones). I modified the package to use with [WhiteCute 's laravel-timezones](https://github.com/whitecube/laravel-timezones) which support datetime casting into user timezone.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require soap/laravel-timezones-list
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-timezones-list-config"
```

This is the contents of the published config file:

```
return [
    'offset_prefix' => 'UTC',
    'offset_whitespace' => false,
];
```

You can set default options for the package in the configuration file. However, you can override them using code.

Usage
-----

[](#usage)

### Timezones grouped by continent

[](#timezones-grouped-by-continent)

```
use Soap\TimezonesList\Facades\TimezonesList;
//
$groupedTimezones = TimezonesList::toArray(grouped: true);

```

### All timezones

[](#all-timezones)

```
use Soap\TimezonesList\Facades\TimezonesList;
//
$timezones = TimezonesList::toArray();

```

### Exclude continents

[](#exclude-continents)

```
use Soap\TimezonesList\Facades\TimezonesList;
//
$timezones = TimezonesList::excludeContinents(['Africa', 'America'])
    ->toArray();

```

### Show offset

[](#show-offset)

```
$timezones = TimezonesList::showOffset()->toArray();
// or
$timezones = TimezonesList::showOffset(showOffset: false)->toArray();

```

### Include general timezones

[](#include-general-timezones)

To include general timezones like GMT or UTC use the includeGeneral method.

```
$timezones = TimezonesList::includeGeneral()->toArray();

```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Prasit Gebsaap](https://github.com/soap)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance77

Regular maintenance activity

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 51.9% 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 ~133 days

Total

4

Last Release

253d ago

Major Versions

v0.0.3 → v1.0.02025-09-08

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1073690?v=4)[Prasit Gebsaap](/maintainers/soap)[@soap](https://github.com/soap)

---

Top Contributors

[![soap](https://avatars.githubusercontent.com/u/1073690?v=4)](https://github.com/soap "soap (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![kpscyber](https://avatars.githubusercontent.com/u/126277570?v=4)](https://github.com/kpscyber "kpscyber (1 commits)")

---

Tags

laravelprasit gebsaaplaravel-timezones-list

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/soap-laravel-timezones-list/health.svg)

```
[![Health](https://phpackages.com/badges/soap-laravel-timezones-list/health.svg)](https://phpackages.com/packages/soap-laravel-timezones-list)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.8k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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