Monolithically integrated laser platform for the mid-infrared