A php package for working with cities in ghana !
You can install the package via composer:
composer require ghaffaru/ghcities-php
Get all Regions in ghana
$regions = \Ghaffaru\GhCities\Region::all();
Get all cities in Ghana
$cities = \Ghaffaru\GhCities\City::all();
Get Cities in a Region
$cities = \Ghaffaru\GhCities\Region::getCities('Ahafo');
composer test
Please see CONTRIBUTING for details.
- Oliver for compiling the cities.json file
The MIT License (MIT). Please see License File for more information.