GithubHelp home page GithubHelp logo

isabella232 / php-opencloud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vanilla/php-opencloud

0.0 0.0 0.0 21.19 MB

The PHP SDK for OpenStack clouds

Home Page: developer.rackspace.com

License: Other

PHP 100.00%

php-opencloud's Introduction

php-opencloud

OpenStack users are recommended to use https://github.com/php-opencloud/openstack, which is the latest supported version of the SDK. This codebase which you are now looking at will enter end-of-life soon. For Rackspace Cloud users, a v2 is actively being worked on.

Latest Stable Version Travis CI Total Downloads

PHP SDK for OpenStack/Rackspace APIs. Our official documentation is now available on http://docs.php-opencloud.com. For SDKs in different languages, see http://developer.rackspace.com.

The PHP SDK should work with most OpenStack-based cloud deployments, though it specifically targets the Rackspace public cloud. In general, whenever a Rackspace deployment is substantially different than a pure OpenStack one, a separate Rackspace subclass is provided so that you can still use the SDK with a pure OpenStack instance (for example, see the OpenStack class (for OpenStack) and the Rackspace subclass).

Requirements

  • PHP >=5.4
  • cURL extension for PHP

Note: Since PHP 5.3 has reached end of life and is no longer officially supported, we are moving to 5.4 as a minimum requirement. If upgrading is not an option and you still need a stable version of the SDK for 5.3, please follow this guide.

Installation

You must install this library through Composer:

# Install Composer
curl -sS https://getcomposer.org/installer | php

# Require php-opencloud as a dependency
php composer.phar require rackspace/php-opencloud

Once you have installed the library, you will need to load Composer's autoloader (which registers all the required namespaces). To do this, place the following line of PHP code at the top of your application's PHP files:

require 'vendor/autoload.php';

Note: this assumes your application's PHP files are located in the same folder as vendor/. If your files are located elsewhere, please supply the path to vendor/autoload.php in the require statement above.

And you're ready to go!

You can also check out the Getting Started guide for a quick tutorial.


Alternatively, if you would like to fork or clone the repository into a directory (to work and submit pull requests), you will need to execute:

php composer.phar install

Instead of the require command. You can also specify the --no-dev option if you do not want to install phpDocumentor (which has lots of vendor folders).

Support and Feedback

Your feedback is appreciated! If you have specific problems or bugs with this SDK, please file an issue on Github. We also have a mailing list, so feel free to join to keep up to date with all the latest changes and announcements to the library.

For general feedback and support requests, contact us at https://developer.rackspace.com/support/

You can also find assistance via IRC on #rackspace at freenode.net.

Contributing

If you'd like to contribute to the project, or require help running the unit/acceptance tests, please view the contributing guidelines.

php-opencloud's People

Contributors

adammerrifield avatar benja-m-1 avatar chmouel avatar cs278 avatar ducatel avatar etoews avatar evanlucas avatar gecampbell avatar grahamcampbell avatar grncdr avatar iamfinky avatar jamiehannaford avatar jcotton1123 avatar joshmanders avatar jpry avatar kaecyra avatar konradpodgorski avatar lesmyrmidons avatar loduis avatar markchalloner avatar martinb3 avatar nickjenkin avatar patrickrose avatar rgbkrk avatar rvanlaak avatar sivel avatar tomgidden avatar tylerturk avatar wanderingzombie avatar ycombinator avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.