Seeders

This package contains the following seeders in the src/resources/database/seeds folder:

Name Type of Entries Contains
Countries Country All the countries in the World
CountiesOfHungary Province Hungarian counties (megye)
CountiesOfRomania Province Romanian counties (județ)
ProvincesOfNetherlands Province Provinces of Netherlands (provincie)
ProvincesAndRegionsOfBelgium Province Belgian Provinces & Regions (gewest/région)
ProvincesOfIndonesia Province Provinces, geographical units and regions of Indonesia
StatesOfGermany Province States of Germany (Bundesland)
StatesAndTerritoriesOfIndia Province Indian States & Union territories
StatesOfUsa Province States, DC, territories and military areas of the USA

Loading

With Artisan

php artisan db:seed --class="\Konekt\Address\Seeds\Countries"

Adding To Your App's DatabaseSeeder

class DatabaseSeeder extends \Illuminate\Database\Seeder
{
    public function run()
    {
        //...
        $this->call(\Konekt\Address\Seeds\Countries::class);
        //...
    }
}

For more details refer to the seeds section in the Concord docs.