database/seeds/DatabaseSeeder.php
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$op = $this->command->choice('What you want to do?', [
'Seed Development Data',
'Seed Production Data',
]);
switch ($op) {
case 0:
$this->call([ DevSeeder::class ]);
break;
case 1:
$this->call([ ProductionSeeder::class ]);
break;
}
}
}