database/seeders/DatabaseSeeder.php
/**
     * Seed the application's database.
     *
     * @return void
     */
Seed the application's database.
@return void
Seed the application ' s database . @return void
public function run()
    {
        \App\Models\User::create([
            'name' => 'John Doe',
            'email' => 'user1@qastusoft.com',
            'email_verified_at' => now(),
            'password' => \bcrypt("qwerasdf"),
            'remember_token' => Str::random(10),
        ]);
        \App\Models\User::create([
            'name' => 'Jane Doe',
            'email' => 'user2@qastusoft.com',
            'email_verified_at' => now(),
            'password' => \bcrypt("qwerasdf"),
            'remember_token' => Str::random(10),
        ]);
        \App\Models\User::create([
            'name' => 'Joe Doe',
            'email' => 'user3@qastusoft.com',
            'email_verified_at' => now(),
            'password' => \bcrypt("qwerasdf"),
            'remember_token' => Str::random(10),
        ]);
    }
public function run ( ) { \ App \ Models \ User :: create ( [ 'name' => 'John Doe' , 'email' => 'user1@qastusoft.com' , 'email_verified_at' => now ( ) , 'password' => \ bcrypt ( " qwerasdf " ) , 'remember_token' => Str :: random ( 10 ) , ] ) ; \ App \ Models \ User :: create ( [ 'name' => 'Jane Doe' , 'email' => 'user2@qastusoft.com' , 'email_verified_at' => now ( ) , 'password' => \ bcrypt ( " qwerasdf " ) , 'remember_token' => Str :: random ( 10 ) , ] ) ; \ App \ Models \ User :: create ( [ 'name' => 'Joe Doe' , 'email' => 'user3@qastusoft.com' , 'email_verified_at' => now ( ) , 'password' => \ bcrypt ( " qwerasdf " ) , 'remember_token' => Str :: random ( 10 ) , ] ) ; }
Seed the application's database.
Seed the application ' s database .