shlogg · Early preview
Paul Redmond @paulredmond

Laravel DigitalOcean Package: API Client Bridge For Laravel

Use Laravel DigitalOcean package by Graham Campbell for API client bridge & multiple connections. Configure with digitalocean.php file & use Facade or dependency injection.

The Laravel DigitalOcean package by Graham Campbell is an API client bridge for Laravel. This package uses Graham's manager package, providing the ability to configure multiple connections.
use GrahamCampbell\DigitalOcean\Facades\DigitalOcean; DigitalOcean::droplet()->powerOn(12345); DigitalOcean::size()->getAll(); // Specify a connection nameDigitalOcean::connection('your_connection_name')    ->droplet()    ->getById(12345);
The package integrates with Laravel's service container, allowing you to use the package's Facade or use dependency injection to use the manager:
use GrahamCampbell\Digit...