DunglasDigitalOceanBundle
DunglasDigitalOceanBundle copied to clipboard
use symfony/contracts instead of guzzle (documentation)
composer require dunglas/digital-ocean-bundle symfony/http-client nyholm/psr7 guzzlehttp/promises
Symfony now supports its own version of promises/contracts, since this is a Symfony bundle, what would be the way to insall without guzzle?
I've never quite grasped the psr-18 interface and how that relates to contracts, but I always appreciate it when a bundle allows me to install my own client, mostly because having the Symfony HttpClient calls available in the debug toolbar makes debugging so much easier.
I'm pretty sure there's a way to install this without guzzle promises.