PHP code example of ezitisitis / laravel-countries

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

    

ezitisitis / laravel-countries example snippets


$this->call(CountriesSeeder::class);
bash
php artisan countries:install
bash
php artisan migrate
bash
php artisan db:seed --class=CountriesSeeder
bash
php artisan db:seed