PHP code example of httpsnader1 / world

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

    

httpsnader1 / world example snippets


composer 

    php artisan vendor:publish --force --provider="Httpsnader1\World\WorldServiceProvider" --tag=migrations
    

    php artisan world:publish-seeders
    

    php artisan world:publish-models
    

php artisan world:init

use Httpsnader1\World\Models;

WorldContinent::get();

use Httpsnader1\World\Models;

WorldCountry::get();