database/seeders/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',
            'designation'=>'HR',
            'role'=>'admin',
            'email'=>'admin@gmail.com',
            'password'=>bcrypt('123456'),
            'mobileno'=>'01518452313',
            'address'=>'Uttara,Sector 10,Dhaka'
         ]);
    }
public function run ( ) { User :: create ( [ 'name' => 'admin' , 'designation' => 'HR' , 'role' => 'admin' , 'email' => 'admin@gmail.com' , 'password' => bcrypt ( '123456' ) , 'mobileno' => '01518452313' , 'address' => 'Uttara,Sector 10,Dhaka' ] ) ; }
Run the database seeds.
Run the database seeds .