add curl requirement to composer.json