PHP code example of vcarreira / country-list
1. Go to this page and download the library: Download vcarreira/country-list 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/ */
vcarreira / country-list example snippets
$countries = app('countrylist')->all('pt_PT');
$countries = CountryList::all('pt_PT');