Based on this product's specifications, here are some alternatives and similar models
Photoelectric Miniature Light Sensor Panasonic PM2LF10, diffuse ON, sensing 2.5–8 mm
Summary description:
Panasonic PM2LF10 is a miniature photoelectric (light) sensor with diffuse (Hell-EIN / ON) switching behavior and a sensing range of 2.5–8 mm. Designed for compact object detection and presence sensing in automation, robotics, or assembly lines, it provides small-form-factor optical detection where short-range, non-contact sensing is required.