Rewrite with symfony and guzzle