PHP code example of ghaffaru / ghcities-php
1. Go to this page and download the library: Download ghaffaru/ghcities-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ghaffaru / ghcities-php example snippets
bash
composer
php
$regions = \Ghaffaru\GhCities\Region::all();
php
$cities = \Ghaffaru\GhCities\City::all();
php
$cities = \Ghaffaru\GhCities\Region::getCities('Ahafo');