composer merge method