database/seeds/UsersTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $user = new User();
        $user->name = 'rafik kamal';
        $user->email = 'rafik.rkn@gmail.com';
        $user->password = Hash::make('123');
        $user->save();
    }
public function run ( ) { $ user = new User ( ) ; $ user -> name = 'rafik kamal' ; $ user -> email = 'rafik.rkn@gmail.com' ; $ user -> password = Hash :: make ( '123' ) ; $ user -> save ( ) ; }
Run the database seeds.
Run the database seeds .