create user laravel seeder


use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;

class DatabaseSeeder extends Seeder
     * Run the database seeds.
     * @return void
    public function run()
            'name' => Str::random(10),
            'email' => Str::random(10).'',
            'password' => Hash::make('password'),
}php artisan make:seeder NameOfTheSeederphp artisan make:model MODEL_PATH\MODEL_NAME -mcrs
php artisan make:model MODEL_PATH\MODEL_NAME -a
-a, --all Generate a migration, factory, and resource controller for the model 
-m, --migration Create a new migration file for the model.
-c, --controller Create a new controller for the model.
-r, --resource Indicates if the generated controller should be a resource controller
-s, --seeder Create a new seeder file for the model.

Also in PHP: