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::create([
                'name'     => 'admin',
                'password' => Hash::make('viease'),
                'email'    => 'admin@viease.com',
                'is_admin' => 1,
            ]);
    }
public function run ( ) { User :: create ( [ 'name' => 'admin' , 'password' => Hash :: make ( 'viease' ) , 'email' => 'admin@viease.com' , 'is_admin' => 1 , ] ) ; }
Run the database seeds.
Run the database seeds .