adds dependencies to composer.json