ariyanshipu/timezones

A simple and flexible Laravel package to manage, retrieve, and display timezones. Supports global timezone integration for user preferences, localization, or scheduling.

v1.0.0 2025-04-12 00:05 UTC

This package is auto-updated.

Last update: 2025-05-12 00:35:44 UTC


README

Latest Version on Packagist
Total Downloads
GitHub Actions

A simple package to work with timezones in PHP. Easily retrieve a list of timezones in an array format. This package is designed to be PSR-4 compliant and integrates seamlessly with your existing PHP projects.

Installation

You can install the package via Composer:

composer require ariyanshipu/timezones

Usage

function timezones()
{
    return Timezones::timezonesToArray();
}

Testing

Run tests with the following command:

composer test

Changelog

For a detailed history of changes, see the CHANGELOG.

Contributing

We welcome contributions! Please see the CONTRIBUTING guide for details.

Security

If you discover any security issues, please email noc@ariyanshipu.me instead of using the issue tracker.

Credits

License

MIT License. See LICENSE.md for more information.