Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/restorando/php-api-client

Restorando's PHP API client
https://github.com/restorando/php-api-client

Last synced: about 1 month ago
JSON representation

Restorando's PHP API client

Awesome Lists containing this project

README

        

# PHP Restorando API

Uses Restorando API

## Requirements

* PHP >= 5.3.2 with [cURL](http://php.net/manual/en/book.curl.php) extension,
* [Buzz](https://github.com/kriswallsmith/Buzz) library,

## Autoload

The new version of `php-restorando-api` using [Composer](http://getcomposer.org).
The first step to use `php-restorando-api` is to download composer:

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

Then we have to install our dependencies using:
```bash
$ php composer.phar install
```
Now we can use autoloader from Composer by:

```json
{
"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
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