Compact laser sensors for OEM and serial applications