PHP API for UnoEuro Webhosting
Switch branches/tags
Nothing to show
Clone or download
Latest commit bb638bb Apr 23, 2016
Permalink
Failed to load latest commit information.
src/UnoEuro Update Client.php Apr 23, 2016
.gitignore Add phpstorm to .gitignore Sep 25, 2015
README.md Update README.md Sep 25, 2015
composer.json Fix typo Sep 25, 2015

README.md

UnoEuro PHP API

Description

This package provides a PHP interface to the UnoEuro REST API.

Install via Composer

We recommend installing this package with Composer.

Download Composer

To download Composer, run in the root directory of your project:

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

You should now have the file composer.phar in your project directory.

Install Dependencies

Run in your project root:

php composer.phar require unoeuro/api-php

Require Autoloader

After installing the dependencies, you need to require the Composer autoloader from your code:

require 'vendor/autoload.php';

Usage

require 'vendor/autoload.php';
$unoeuro = new UnoEuro\Client('account', 'apikey');
$products = $unoeuro->get('my/products/');
var_dump($products);

Contributing

Please submit pull requests, we love you <3