PHPackages                             toorop/ovh-sdk-php - 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. toorop/ovh-sdk-php

ActiveLibrary[API Development](/categories/api)

toorop/ovh-sdk-php
==================

OVH SDK for PHP

5511.9k18[2 issues](https://github.com/Toorop/ovh-sdk-php/issues)PHP

Since May 21Pushed 10y ago11 watchersCompare

[ Source](https://github.com/Toorop/ovh-sdk-php)[ Packagist](https://packagist.org/packages/toorop/ovh-sdk-php)[ RSS](/packages/toorop-ovh-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

OVH SDK for PHP
===============

[](#ovh-sdk-for-php)

PHP SDK to consume OVH web services

**WARNING : This SDK is currently in development, some functions/methods are not (or not correctly) implemented. Use with care.**

Before Using the SDK
--------------------

[](#before-using-the-sdk)

### Get OVH credentials

[](#get-ovh-credentials)

You need three keys :

- Application Key (AK)
- Applcation Secret (AS)
- Consumer Key (CK)

You will find in the tools directory a script named getOvhCredentials.php. Use it to get yours credentials (read how to in the header of the script).

### Requirements

[](#requirements)

You need PHP 5.3.2+ compiled with the cURL extension.

Install OVH SDK
---------------

[](#install-ovh-sdk)

### Installing via Composer

[](#installing-via-composer)

The recommended way to install OVH SDK is through [Composer](http://getcomposer.org).

1. Add `toorop/ovh-sdk-php` as a dependency in your project's `composer.json` file:

    ```
     {
         "require": {
             "toorop/ovh-sdk-php": "dev-master"
         }
     }

    ```
2. Download and install Composer:

    ```
     curl -s http://getcomposer.org/installer | php

    ```
3. Install your dependencies:

    ```
     php composer.phar install

    ```
4. Require Composer's autoloader

    Composer also prepares an autoload file that's capable of autoloading all of the classes in any of the libraries that it downloads. To use it, just add the following line to your code's bootstrap process:

    ```
     require 'vendor/autoload.php';

    ```

You can find out more on how to install Composer, configure autoloading, and other best-practices for defining dependencies at [getcomposer.org](http://getcomposer.org).

Using the SDK
-------------

[](#using-the-sdk)

### Quick Start

[](#quick-start)

```
