PHPackages                             vapi/vapi - 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. vapi/vapi

ActiveLibrary[API Development](/categories/api)

vapi/vapi
=========

Vapi PHP Library

1.1.0(1mo ago)090↓61.7%PHPPHP ^8.1CI passing

Since Oct 17Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/VapiAI/server-sdk-php)[ Packagist](https://packagist.org/packages/vapi/vapi)[ RSS](/packages/vapi-vapi/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)Dependencies (11)Versions (5)Used By (0)

Vapi PHP Library
================

[](#vapi-php-library)

[![fern shield](https://camo.githubusercontent.com/8053034980884cc47f4b7cace74fdfa9cdad97f9200a9e2d4b22fac279356faf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462538432542462d4275696c74253230776974682532304665726e2d627269676874677265656e)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FVapiAI%2Fserver-sdk-php)[![php shield](https://camo.githubusercontent.com/c6935ea725f448fdb79c5a9a86bf2f898610c8bf44028a3192176889b47cdba6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d7061636b61676973742d70696e6b)](https://packagist.org/packages/vapi/vapi)

The Vapi PHP library provides convenient access to the Vapi APIs from PHP.

Table of Contents
-----------------

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)
- [Environments](#environments)
- [Exception Handling](#exception-handling)
- [Advanced](#advanced)
    - [Custom Client](#custom-client)
    - [Retries](#retries)
    - [Timeouts](#timeouts)
- [Contributing](#contributing)

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

[](#requirements)

This SDK requires PHP ^8.1.

Installation
------------

[](#installation)

```
composer require vapi/vapi
```

Usage
-----

[](#usage)

Instantiate and use the client with the following:

```
