A PHP library for version 2 of the DigitalOcean API
A PHP library for version 2 of the DigitalOcean API
by: toin0uAugust 28, 2014Visit site
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Have you created an Integration, API Wrapper, Service, or other Tool that helps developers build on DigitalOcean? Help users find it by listing it in Community Tools.
This comment has been deleted
This comment has been deleted
This comment has been deleted
is there another library? I downloaded this, and it seemed to be annoying to set up, requiring composer and other dependencies. It should be a simple ‘require_once ‘digitalocean.php’’ and then be good to go. Instead I found myself entering a maze.
Hi there, composer is a must have ;) If you follow the readme - it’s should be ok. Feel free to ask if you need more info for using the lib.
@roblindman I agree with @toin0u these days composer is a must in the PHP world. I think all the other libraries require composer.
This is me, saying no to bloatware. https://www.digitalocean.com/community/questions/create-a-droplet-via-php-using-api-2
For anyone else that doesn’t want a mountain where a molehill should be, here’s some very tiny examples of DO API V2. Not quite a library, but you don’t have to go through a bunch of contortions to get started on doing the basics.
https://github.com/erikaheidi/do-php
This also looks promising, and is ‘loosely’ qualified to be called a library:
https://github.com/erikaheidi/simplydo
It’s unlikely that it has the full featureset of the library in this thread, but it doesn’t seem that it requires downloading half the universe.
Yeah, I’m jumping on the anti-composer band-wagon here. Not only do I like my installations to be minimal I actually can’t use composer and I run from google app engine; my environment is not customizable. I’ll probably end up using the API v2 client by either manually loading classes from this source or writing an autoload handler