php arisan de:seeder code example
Example 1: laravel make seeder
php artisan make:seeder NameOfTheSeeder
Example 2: db seed in controller
$fullClassName = "Nitseditor\\Plugins\\${pluginName}\\Databases\\seeds\\InstallSeeder";
Artisan::call("db:seed", ['--class' => $class]);