PHP code example of zalanihir / country-state-city
1. Go to this page and download the library: Download zalanihir/country-state-city 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/ */
zalanihir / country-state-city example snippets
app.php
providers.php
bash
php artisan vendor:publish --provider="Nihir\CountryStateCity\CountryStateCityServiceProvider"
bash
php artisan optimize:clear
php artisan config:cache
bash
php artisan migrate
DataBaseSeeder.php
bash
$this->call(CountryStateCityTableSeeder::class);
bash
php artisan db:seed
bash
php artisan csc:publish-flags