There won’t be a single “definitive guide” because folks are using a variety of lasers, and they connect in a variety of ways.
The SKR Pro + Marlin 2.0.7.2 + NEJE/3 Wire Laser (Summary) looks to be pretty close to what you’re asking for, but it is specific to that particular laser.