Download the PHP package ready2order/r2o-api-client-php without Composer
On this page you can find all versions of the php package ready2order/r2o-api-client-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ready2order/r2o-api-client-php
More information about ready2order/r2o-api-client-php
Files in ready2order/r2o-api-client-php
Package r2o-api-client-php
Short Description PHP library for ready2order POS API v1
License MIT
Homepage https://github.com/ready2order/r2o-api-client-php
Informations about the package r2o-api-client-php
ready2order PHP API
PHP client library for the ready2order POS API v1. Wraps the REST API at api.ready2order.com.
Getting Started
- Register as a developer at api.ready2order.com to obtain your "Developer Token"
- Use the developer token to request access to existing accounts and obtain an "Account Token"
- Use the "Account Token" for your API requests
For full API documentation, see ready2order.com/api/doc.
Installation
Install via Composer:
Basic Usage
HTTP Methods
The client supports all standard HTTP methods:
Configuration Options
Custom Timeout
Set a custom timeout for all requests (default: 10 seconds):
Language Header
Set the Accept-Language header for localized responses:
Custom API Endpoint
For testing or custom deployments, pass the endpoint as the second constructor parameter:
Error Handling
The client throws specific exceptions for different error scenarios:
Pagination
List endpoints support pagination via query parameters:
Complete Example
Requirements
- PHP 7.4 or higher
- ext-curl
- ext-json
- guzzlehttp/guzzle ^7.0
License
MIT
All versions of r2o-api-client-php with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.16 || ^8.3