How to Get only Shadows from a Collection in 2.8 EEVEE?
As far as I know Collection won't behave like Render Layers in Cycles but you can use material as below to hide your mesh and show only shadows in EEVEE.