1. Go to this page and download the library: Download thecoder/world 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/ */
thecoder / world example snippets
TheCoder\World\WorldServiceProvider::class,
use World;
$continents = World::continents()->get(); // Get all continents
$countries = World::countries()->get(); // Get all countries
use TheCoder\World;
$world = new World();
$continents = $world->continents()->get();
$countries = $world->countries()->get();