ariyanshipu / timezones
A simple and flexible Laravel package to manage, retrieve, and display timezones. Supports global timezone integration for user preferences, localization, or scheduling.
Requires
- php: >=7.4
- illuminate/support: >=8.0
Requires (Dev)
- orchestra/testbench: >=6.0
- phpunit/phpunit: >=8.0
README
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.