PHP code example of jadsalhani / world-countries-cities

1. Go to this page and download the library: Download jadsalhani/world-countries-cities 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/ */

    

jadsalhani / world-countries-cities example snippets


public function run()
{
    Model::unguard();

    $this->call('Jadsalhani\WorldCountriesCities\CitiesSeeder');
    $this->call('Jadsalhani\WorldCountriesCities\CountriesSeeder');
}

php artisan migrate

php artisan db:seed