PHPackages                             jimaek/netdnarws-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. [HTTP &amp; Networking](/categories/http)
4. /
5. jimaek/netdnarws-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

jimaek/netdnarws-php
====================

PHP Wrapper for MaxCDN Remote Web Services

2.0.2(12y ago)2121MITPHPPHP &gt;=5.3.0

Since Aug 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/jimaek/netdnarws-php)[ Packagist](https://packagist.org/packages/jimaek/netdnarws-php)[ Docs](http://developer.netdna.com)[ RSS](/packages/jimaek-netdnarws-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (3)Used By (0)

MaxCDN REST API PHP Client
==========================

[](#maxcdn-rest-api-php-client)

Requirements
------------

[](#requirements)

- PHP 5.3 or above
- PHP Curl Extension

Installation with Composer
--------------------------

[](#installation-with-composer)

Composer is the recommended way to utilize the MaxCDN RWS SDK PHP library. For more information on how to use Composer, see  .

1. Add "MaxCDN/rws-sdk-php" as a dependency in your composer.json project file.

```
{
    "require": {
        "MaxCDN/rws-sdk-php": "2.*"
    }
}
```

2. Download and install Composer (if not already installed).

```
curl -sS https://getcomposer.org/installer | php
```

3. Install your package dependencies.

```
php composer.phar install -o
```

This will download the MaxCDN library and configure composer to use it. Composer will also build an autoloader for your use in the next step.

4. Use Composer's autoloader.

Composer prepares an autoload file which autoloads the RWS library for you on demand. To use it, provide the following at the top of your PHP source files:

```
require_once '/path/to/vendor/autoload.php';
```

It is advised that you understand how to optimze Composer's usage in Production environments. For more information about Composer, visit

The libraries are located in the src/ directory. The classes are organized in a PSR-0 hierarchy. You can use any PSR-0 compliant autoloader for this library. Composer is the recommended method (see above).

Usage
-----

[](#usage)

```
