$insertMany = Pricing::create(['name'=>request('name')]); $insertMany->available()->createMany([ ['service_id'=>1], ['service_id'=>2], ['service_id'=>3], ['service_id'=>4], ['service_id'=>5], ]);