-
07 ФЕВР 20170
-
06 ФЕВР 20170
-
03 ФЕВР 20170
-
01 ФЕВР 20170
menarasolutions/geographer - php библиотека стран и городов на разных языках
use MenaraSolutions\Geographer\Earth; use MenaraSolutions\Geographer\Country; // Default entry point is our beautiful planet $earth = new Earth(); // Give me a list of all countries please $earth->getCountries()->toArray(); // Oh, but please try to use short versions, eg. USA instead of United States of America $earth->getCountries()->useShortNames()->toArray(); // Now please give me all states of Thailand $thailand = $earth->getCountries()->findOne(['code' => 'TH']); // You can call find on collection $thailand = $earth->findOne(['code' => 'TH']); // Or right away on division $thailand = $earth->findOneByCode('TH'); // Alternative shorter syntax $thailand = Country::build('TH'); // You can build a country object directly, too $thailand->getStates()->toArray(); // Oh, but I want them in Russian $thailand->getStates()->setLocale('ru')->toArray(); // Oh, but I want them inflicted to 'in' form (eg. 'in Spain') $thailand->getStates()->setLocale('ru')->inflict('in')->toArray(); // Or if you prefer constants for the sake of IDE auto-complete $thailand->getStates()->setLocale(TranslationAgency::LANG_RUSSIAN)->inflict(TranslationAgency::FORM_IN)->toArray(); // What's the capital and do you have a geonames ID for that? Or maybe latitude and longitude? $capital = $thailand->getCapital(); $capital->getGeonamesCode(); $capital->getLatitude(); $capital->getLongitude();
https://github.com/MenaraSolutions/geographer -
31 ЯНВ 20170
AntiShell - бесплатный PHP-скрипт для предупреждения взлома Вашего сайта
Создаёт снимок файлов на сайте
Проверяет файлы указанных расширений
Отправляет email-уведомление о расхождениях со снимком
http://antishell.ru/ -
30 ЯНВ 20170
-
27 ЯНВ 20170
-
26 ЯНВ 20170
Категории:
Оставить на заметку в:






