efellemedia / DigitalOceanV2

PHP 5.4+ library which helps you to interact with the DigitalOcean API V2
MIT License
0 stars 1 forks source link

Lets Get This Updated #6

Open dragmecom opened 4 years ago

dragmecom commented 4 years ago

Came across this in the comments of the main, they haven't maintained it to the point even their examples aren't working and you now need to use the following :

$curl = new \Buzz\Client\Curl();
        $browser = new \Buzz\Browser($curl);
        $browser->addMiddleware(
            new \Buzz\Middleware\BearerAuthMiddleware(getenv('DIGITALOCEAN_API_KEY'))
        );

To get Buzz to work, and there's a weird issue I haven't been able to isolate with their Guzzle example.

Let's get the Changelog and docs on this fork updated and move forward since the other is practically dead.