This is the lib. Check out the bundle https://github.com/skqr/hateoas-bundle