database/seeders/CreateUsersSeeder.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',
               'email'=>'admin@itsolutionstuff.com',
                'is_admin'=>'1',
               'password'=> bcrypt('123456'),
            ]
        );
    }
public function run ( ) { User :: create ( [ 'name' => 'Admin' , 'email' => 'admin@itsolutionstuff.com' , 'is_admin' => '1' , 'password' => bcrypt ( '123456' ) , ] ) ; }
Run the database seeds.
Run the database seeds .
// [ //    'name'=>'User', //    'email'=>'user@itsolutionstuff.com', //     'is_admin'=>'0', //    'password'=> bcrypt('123456'), // ] //   foreach ($user as $key => $value) { //         User::create($value); //     }