PHPackages                             callr/sdk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. callr/sdk-php

ActiveLibrary[API Development](/categories/api)

callr/sdk-php
=============

CALLR PHP SDK for JSON-RPC API

v0.11.1(8y ago)8407.0k—1.1%4[1 issues](https://github.com/THECALLR/sdk-php/issues)1MITPHPPHP &gt;=5.4.0

Since Oct 25Pushed 8y ago12 watchersCompare

[ Source](https://github.com/THECALLR/sdk-php)[ Packagist](https://packagist.org/packages/callr/sdk-php)[ Docs](https://github.com/THECALLR/sdk-php)[ RSS](/packages/callr-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)DependenciesVersions (7)Used By (1)

PHP SDK for CALLR API
=====================

[](#php-sdk-for-callr-api)

JSON-RPC 2.0 PHP class, to use with CALLR API.

- **API documentation**:
- **SDK Installation guide**: see INSTALLING.php.md
- **Example projects**:
- **JSON-RPC 2.0 Specification**:
- Easy to use Client class, built for **PHP 5.4+**
- Can be used for both the [API](http://www.callr.com/docs/) and [Real-time](https://www.callr.com/docs/voice/real-time/first-steps) calls
- Requires: `php5-curl`

Composer
--------

[](#composer)

You should use Composer () to manage your PHP dependencies. If you do not have a `composer.json` file yet, create one at the root of your project, download Composer, and launch `composer update`.

The `composer.json` file should look like this:

```
{
  "require": {
    "callr/sdk-php": "^0.11"
  }
}
```

Add all the libraries you need in `composer.json`. Do not forget to run `composer update` each time you edit the file.

Then you just need to include one file in your code:

```
