Skip to main content
The official PHP SDK for the Vobiz Voice API. Make calls, manage SIP trunks, handle CDR, record calls, configure phone numbers, and more - natively from your PHP application or framework. Source code: vobiz-ai/Vobiz-PHP-SDK

Installation

The SDK is distributed from its GitHub repo (not Packagist). Clone it and add it as a Composer path (or VCS) repository:
Then run composer install.

Authentication

All API calls require your Auth ID and Auth Token, available in the Vobiz Console. The first argument (apiKey) maps to your Auth ID and is sent as the X-Auth-ID header; authToken is sent as X-Auth-Token.

Quick start

Make an outbound call:

VobizXML

When a call is answered, Vobiz fetches VobizXML from your answerUrl webhook to control the call. The SDK ships a builder in the Vobiz\Xml namespace - each add* returns the created child for nesting, and PHP named arguments map to VobizXML attributes:

Resources