Location: Qobo Ltd
Greatest safety instructions ever
Over the years, I’ve seen quite a few of similar videos, but I think this is the funniest of them all! Given how seriously airlines take safety, I hope this flight attendant is not fired or punished any other way. Because, unlike all those regular instructions, people will actually listen to these, and, on top of them, will actually remember…
GDPR and phones
Christmas spirit lunch
PHP: Countries and currencies
Many software projects deal with the lists of countries and currencies. Some of the most common tasks include country an currency dropdowns, country flags next to the IP, or pre-filling country codes in phone numbers.
All of that information is of course standardized and you often just need a library or two to provide and use it. And there are many of those. We’ve been mainly using these two:
Today, however, I came across a better option – antonioribeiro/countries, which is a collection of country and currency information for Laravel PHP framework. Laravel is not required though. This library provides way more information and in a much more flexible way. It includes:
- 266 countries (with more codes, common names, official names, and more)
- 256 currencies
- 1,570 flags
- 248 geometry maps
- 248 topology maps
- 4,526 states
- 7,376 cities
- and a lot more!