Skip to content

restorando/php-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Restorando API

Uses Restorando API

Requirements

  • PHP >= 5.3.2 with cURL extension,
  • Buzz library,

Autoload

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 integrate php-restorando-api classes loading in your own autoloader.

Basic usage of php-restorando-api client

<?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.

License

php-restorando-api is licensed under the MIT License - see the LICENSE file for details

Credits

This library is based on php-github-api client from Thibault Duplessis original code in: https://github.com/KnpLabs/php-github-api

Contributors

Releases

No releases published

Packages

No packages published

Languages