Description
DigitalOcean PHP API Client is an open source library for working with the DigitalOcean API v2 from PHP. It supports PHP 8.1 through 8.5 and installs with Composer, along with packages that provide a PSR-18 HTTP client and PSR-17 factories, since it is decoupled from any specific HTTP client through PSR-7, PSR-17, PSR-18 and HTTPlug. Since version 3.0 it discovers an available HTTP client automatically, so you create a client, provide your access token and start making calls. A built-in paginator fetches collections such as all droplets, 100 entries per request by default. The API covers accounts, actions, apps, databases, CDN endpoints, domains and domain records, droplets, firewalls, images, SSH keys, load balancers and more. Laravel and Symfony integrations are available through separate packages, and upgrade guides cover the jumps to versions 3.0 and 4.0.…
Highlights
- PHP client for DigitalOcean API v2
- Supports PHP 8.1-8.5
- PSR-7/17/18 and HTTPlug, auto-discovers HTTP client
- Built-in paginator for collections
- Covers droplets, databases, domains, firewalls and more
- Laravel and Symfony integrations
Ratings & Reviews
No ratings yet
Be the first to rate Client.
People also visit
Client FAQ
What is this library?
A modern PHP client for the DigitalOcean API v2.
How do I install it?
Require it with Composer, together with packages that provide psr/http-client-implementation and psr/http-factory-implementation.
Which PHP versions are supported?
PHP 8.1 to 8.5.
Does it work with Laravel?
Yes, through the graham-campbell/digitalocean integration; there is also dunglas/digital-ocean-bundle for Symfony.
How do I list all droplets?
Create a client with your access token and use the built-in paginator, which fetches 100 entries per request by default.
What are the best Client alternatives?
Popular alternatives to Client include RunCloud, Client and Pricore. See all Client alternatives

.png?auto=compress&fit=max&w=128)




.jpg?auto=compress&fit=max&w=128)
