PHPackages                             2600hz/kazoo-php-sdk - 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. 2600hz/kazoo-php-sdk

ActiveLibrary[API Development](/categories/api)

2600hz/kazoo-php-sdk
====================

Description of project kazoo-php-sdk.

3.0.1(2y ago)199.4k—0%50[3 issues](https://github.com/2600hz/kazoo-php-sdk/issues)MITPHPPHP &gt;=5.5CI failing

Since Dec 17Pushed 2y ago43 watchersCompare

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

READMEChangelog (4)Dependencies (4)Versions (13)Used By (0)

PHP Kazoo API
=============

[](#php-kazoo-api)

A simple Object Oriented wrapper for Kazoo API, written with PHP5.

*NOTICE:* Master is no longer backward compatibile with version 1.x
-------------------------------------------------------------------

[](#notice-master-is-no-longer-backward-compatibile-with-version-1x)

The master brach of this repo represents a new approach to the SDK, which will become version 2.x.

If you are currently using the SDK the 1.x branches will be maintained until otherwise notified.

Features
--------

[](#features)

- Follows PSR-0 conventions and coding standard: autoload friendly
- Light and fast thanks to lazy loading of API classes
- Extensively tested and documented

Requirements
------------

[](#requirements)

- PHP &gt;= 5.3.2
    - [php-xml](http://php.net/manual/en/refs.xml.php) extension
    - [cURL](http://php.net/manual/en/book.curl.php) extension

Dependencies for the SDK are managed using [Composer](http://getcomposer.org). For your convience we have included the composer binary in the root directory of the project.

However, if you would like to install Composer to your local system you can run (optional):

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

Installing the SDK
------------------

[](#installing-the-sdk)

*NOTICE: These instructions are a work-in-progress. Do you have a better way? Let us know!*

- Browse to the GitHub repo for the [Kazoo SDK](https://github.com/2600hz/kazoo-php-sdk) and select the branch which represents the version you wish to use.
- Click "Download ZIP"
- Unzip the SDK into your project
- The SDK follows the PSR-0 convention names for its classes, which means you should be able to easily integrate `kazoo-php-sdk` class loading in your own autoloader.

Installing the SDK (with Composer)
----------------------------------

[](#installing-the-sdk-with-composer)

*This assumes basic familiarization with composer. If you have not used Composer before you might read the [getting started guide](https://getcomposer.org/doc/00-intro.md).*

Add the following require line:

```
"2600hz/kazoo-php-sdk": "dev-master"
```

Using Composer update or install your project dependencies.

If your project is already including the auto-generated autloader, then you are done!

Example Usage
-------------

[](#example-usage)

In this example we will find all admins of the account belonging to the authenticated user. It will then set "require\_password\_update" to `true` for each admin and save it back to the db.

```
