{"repo":"khsing/laravel-world","free":true,"listed":false,"github":"https://github.com/khsing/laravel-world","clone":"git clone https://github.com/khsing/laravel-world.git","description":"provide countries, states, and cities relations and database.","language":"PHP","stars":477,"topics":["laravel","region","city","world","state","country","translation","database","continent","division"],"license":"MIT","category":"databases-storage","readme_excerpt":"Laravel World Database This package focused on World Countries, Regions, and Cities database with locale support for Laravel. Conceptions There are 5 main objects in this package. - World: the earth world. - Continent: 7 continent - Country: 248 countries - Division: Divisions such as state/province. - City: the last level of region, some cities up to Country, some up to Division. Attributes Common attributes: - name : Common name of region(english). - full name : Full name or official name(english). - code : ISO-3166-1-alpha2/ISO-3166-2 code - local name : translation of Common name - local full name : translation of full name - local alias : alias in different language - local abbr : Abbreviation Country spec attributes: - emoji : Emoji flag of country - capital : Captial of this country - code alpha3 : Code of ISO-3166-1-alpha3 - currency code : ISO-4177 Currency Code, e.g. USD, CNY - currency name : ISO-4177 Currency Name, - local currency name : ISO-4177 Currency name in locale Example: Localization Right now, only English(default and fallback) and Chinese-Simp zh-cn are supported. Locale settings is following Laravel project settings in config/app.php . Setup - composer require - Add Service Provider into config/app.php , (Only required before Laravel 5.5) - Publish and init Usage - get all Continent - get all Countries - get country/city/division by code - get countries belong to a continent - get continent or parent - get division/state/province via Conutry - get citi","default_branch":null,"files":null,"tree":[],"storefront":"/r/khsing","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/khsing/laravel-world/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}