database/seeders/EmployeeSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('employees')->insert([
        	'name' => 'Karim',
        	'email' => 'karim@gmail.com',
        	'CompanyId' => 1,
        ]);
    }
public function run ( ) { DB :: table ( 'employees' ) -> insert ( [ 'name' => 'Karim' , 'email' => 'karim@gmail.com' , 'CompanyId' => 1 , ] ) ; }
Run the database seeds.
Run the database seeds .