PHPackages                             wappr/digitalocean - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. wappr/digitalocean

AbandonedLibrary[API Development](/categories/api)

wappr/digitalocean
==================

A PHP DigitalOcean API Client using Guzzle

0.19.0(9y ago)460MITPHP &gt;=5.6

Since Feb 28Compare

[ Source](https://github.com/levidurfee/digitalocean)[ Packagist](https://packagist.org/packages/wappr/digitalocean)[ RSS](/packages/wappr-digitalocean/feed)WikiDiscussions Synced today

READMEChangelog (6)Dependencies (2)Versions (8)Used By (0)

DigitalOcean API client
=======================

[](#digitalocean-api-client)

[![Build Status](https://camo.githubusercontent.com/ec26f0ed439ad2cbed0dae20c5ed0bbf51baa60bf363ac17c250b7eb2680a088/68747470733a2f2f7472617669732d63692e6f72672f77617070722f6469676974616c6f6365616e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wappr/digitalocean)[![v0.21.0](https://camo.githubusercontent.com/27e887f0cc4ad5365eda88d0f17447c535297a1cffce8b1a785c2e5d0e50673c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d76302e32312e302d6f72616e67652e737667)](https://packagist.org/packages/wappr/digitalocean)

A [DigitalOcean](https://m.do.co/c/97ced4f9088d) PHP client that uses [Guzzle](https://github.com/guzzle/guzzle) by default.

Basic usage
-----------

[](#basic-usage)

You MUST set the `DO_API_TOKEN` environment variable set to your DigitalOcean API TOKEN.

Next you need to instantiate one of the resources that are listed below. Each resource has a method that will send a request to DigitalOcean. Those methods require a instantiated request class. The request class construct requires the fields required by DigitalOcean. By using a request class it is impossible to send a request without all the required data. There are sometimes optional fields that get evaluated when using the setter method.

```
