database/seeds/CustomerTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $customers=array(['name'=>"Jayaram"],['name'=>"Rajaram"]);
        DB::table('customers')->insert($customers);
    }
public function run ( ) { $ customers = array ( [ 'name' => " Jayaram " ] , [ 'name' => " Rajaram " ] ) ; DB :: table ( 'customers' ) -> insert ( $ customers ) ; }
Run the database seeds.
Run the database seeds .