Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/restorando/php-api-client
- Owner: restorando
- License: mit
- Created: 2013-07-26T14:05:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-26T14:13:34.000Z (over 11 years ago)
- Last Synced: 2024-04-20T17:43:22.377Z (8 months ago)
- Language: PHP
- Size: 109 KB
- Stars: 2
- Watchers: 31
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
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