Download the PHP package nehero/friendlytimezone without Composer

On this page you can find all versions of the php package nehero/friendlytimezone. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package friendlytimezone

User-friendly timezones for PHP

Latest Version on Packagist Total Downloads Tests

List extracted from Microsoft Time Zone Index Values.

Some regions influenced by this Stack Overflow answer.

⚠️ This package has been rewritten in version 3 to support more flexibility of working with the timezones as well as incorporating modern php features

If you are looking for the now deprecated version 2 documentation, click here

Installation

As of v3.0 this package requires PHP 8.0+

You can install the package via composer:

Usage

Supported Timezones

See any missing? Pull requests and issues are welcome!

Click to view a table of all currently supported timezones | IANA Name | Friendly Name | |-----------|--------------------------------------------------------| | Pacific/Midway | Midway Island, Samoa | | Pacific/Honolulu | Hawaii | | America/Anchorage | Alaska | | America/Tijuana | Pacific Time (US and Canada); Tijuana, Baja California | | America/Edmonton | Mountain Time (US and Canada) | | America/Chihuahua | Chihuahua, La Paz, Mazatlan | | America/Phoenix | Arizona | | America/Chicago | Central Time (US and Canada) | | America/Regina | Saskatchewan | | America/Mexico_City | Guadalajara, Mexico City, Monterrey | | America/Managua | Central America | | America/New_York | Eastern Time (US and Canada) | | America/Indiana/Indianapolis | Indiana (East) | | America/Bogota | Bogota, Lima, Quito | | America/Caracas | Caracas | | America/Halifax | Atlantic Time (Canada) | | America/Argentina/San_Juan | Georgetown, La Paz, San Juan | | America/Santiago | Santiago | | America/Manaus | Manaus | | America/Asuncion | Asuncion | | America/St_Johns | Newfoundland | | America/Sao_Paulo | Brasilia | | America/Argentina/Buenos_Aires | Buenos Aires, Georgetown | | America/Godthab | Greenland | | America/Montevideo | Montevideo | | Atlantic/South_Georgia | Mid-Atlantic | | Atlantic/Azores | Azores | | Atlantic/Cape_Verde | Cape Verde Islands | | Europe/London | Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London | | Atlantic/Reykjavik | Monrovia, Reykjavik | | Africa/Casablanca | Casablanca | | UTC | Coordinated Universal Time | | Europe/Belgrade | Belgrade, Bratislava, Budapest, Ljubljana, Prague | | Europe/Sarajevo | Sarajevo, Skopje, Warsaw, Zagreb | | Europe/Paris | Brussels, Copenhagen, Madrid, Paris | | Europe/Berlin | Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna | | Africa/Lagos | West Central Africa | | Asia/Amman | Amman | | Asia/Beirut | Beirut | | Africa/Cairo | Cairo | | Europe/Minsk | Minsk | | Europe/Helsinki | Helsinki, Kiev, Riga, Sofia, Tallinn, Vilnius | | Europe/Athens | Athens, Bucharest, Istanbul | | Asia/Jerusalem | Jerusalem | | Africa/Harare | Harare, Pretoria | | Africa/Windhoek | Windhoek | | Europe/Moscow | Moscow, St. Petersburg, Volgograd | | Asia/Kuwait | Kuwait, Riyadh | | Africa/Nairobi | Nairobi | | Asia/Baghdad | Baghdad | | Asia/Tbilisi | Tbilisi | | Asia/Tehran | Tehran | | Asia/Muscat | Abu Dhabi, Muscat | | Asia/Baku | Baku, Tbilisi, Yerevan | | Asia/Yerevan | Yerevan | | Indian/Mauritius | Port Louis | | Asia/Kabul | Kabul | | Asia/Yekaterinburg | Ekaterinburg | | Asia/Tashkent | Tashkent | | Asia/Karachi | Islamabad, Karachi | | Asia/Kolkata | Chennai, Kolkata, Mumbai, New Delhi | | Asia/Kathmandu | Kathmandu | | Asia/Dhaka | Astana, Dhaka | | Asia/Colombo | Sri Jayawardenepura | | Asia/Almaty | Almaty, Novosibirsk | | Asia/Rangoon | Yangon (Rangoon) | | Asia/Bangkok | Bangkok, Hanoi, Jakarta | | Asia/Krasnoyarsk | Krasnoyarsk | | Asia/Hong_Kong | Beijing, Chongqing, Hong Kong, Urumqi | | Asia/Kuala_Lumpur | Kuala Lumpur, Singapore | | Asia/Taipei | Taipei | | Australia/Perth | Perth | | Asia/Irkutsk | Irkutsk, Ulaanbaatar | | Asia/Seoul | Seoul | | Asia/Tokyo | Osaka, Sapporo, Tokyo | | Asia/Yakutsk | Yakutsk | | Australia/Darwin | Darwin | | Australia/Adelaide | Adelaide | | Australia/Sydney | Canberra, Melbourne, Sydney | | Australia/Brisbane | Brisbane | | Australia/Hobart | Hobart | | Asia/Vladivostok | Vladivostok | | Pacific/Guam | Guam, Port Moresby | | Asia/Magadan | Magadan, Solomon Islands, New Caledonia | | Pacific/Fiji | Fiji, Kamchatka, Marshall Is. | | Pacific/Auckland | Auckland, Wellington | | Asia/Kamchatka | Petropavlovsk-Kamchatsky | | Pacific/Tongatapu | Nuku'alofa |

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

If you have a better suggestion for any of the mapped regions, please submit a pull request and include accurate sources for the changes.

License

The MIT License (MIT). Please see License File for more information.


All versions of friendlytimezone with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/collections Version ^9.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nehero/friendlytimezone contains the following files

Loading the files please wait ....