database/seeds/UserSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $user = [
            'name' => 'mohaimen',
            'email' => 'mohaimen707@gmail.com',
            'password' => Hash::make('12345678'),
        ];
        User::insert($user);
    }
public function run ( ) { $ user = [ 'name' => 'mohaimen' , 'email' => 'mohaimen707@gmail.com' , 'password' => Hash :: make ( '12345678' ) , ] ; User :: insert ( $ user ) ; }
Run the database seeds.
Run the database seeds .