Uses Restorando API
The new version of php-restorando-api
using Composer.
The first step to use php-restorando-api
is to download composer:
$ curl -s http://getcomposer.org/installer | php
Then we have to install our dependencies using:
$ php composer.phar install
Now we can use autoloader from Composer by:
{
"require": {
"restorando/restorando-api": "*"
},
"minimum-stability": "dev"
}
php-restorando-api
follows the PSR-0 convention names for its classes, which means you can easily integratephp-restorando-api
classes loading in your own autoloader.
<?php
// This file is generated by Composer
require_once 'vendor/autoload.php';
$client = new Restorando\Client();
$repositories = $client->api('restaurants')->all();
From $client
object, you can access to all Restorando.
php-restorando-api
is licensed under the MIT License - see the LICENSE file for details
This library is based on php-github-api client from Thibault Duplessis original code in: https://github.com/KnpLabs/php-github-api