API v2 client in PHP

Visit site

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

Was this helpful?
 
10 Comments


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!

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.

        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

        Publish your Tool on Community

        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.

        Become a contributor for community

        Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

        DigitalOcean Documentation

        Full documentation for every DigitalOcean product.

        Resources for startups and SMBs

        The Wave has everything you need to know about building a business, from raising funding to marketing your product.

        Get our newsletter

        Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

        New accounts only. By submitting your email you agree to our Privacy Policy

        The developer cloud

        Scale up as you grow — whether you're running one virtual machine or ten thousand.

        Get started for free

        Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

        *This promotional offer applies to new accounts only.