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

Abandoned → [signalwire-community/signalwire](/?search=signalwire-community%2Fsignalwire)Library[API Development](/categories/api)

signalwire/signalwire
=====================

Client library for connecting to SignalWire.

v2.3.10(4y ago)0100.0k↓32%MITPHPPHP ^7

Since Sep 21Pushed 1mo agoCompare

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

READMEChangelog (1)Dependencies (8)Versions (28)Used By (0)

 [ ![](https://github.com/user-attachments/assets/0c8ed3b9-8c50-4dc6-9cc4-cc6cd137fd50) ](https://signalwire.com)SignalWire SDK for PHP
======================

[](#signalwire-sdk-for-php)

*Build AI voice agents, control live calls over WebSocket, and manage every SignalWire resource over REST -- all from one package.*

 [Documentation](https://developer.signalwire.com/sdks/agents-sdk) · [Report an Issue](https://github.com/signalwire/signalwire-docs/issues/new/choose) · [Packagist](https://packagist.org/packages/signalwire/sdk)

[![Discord](https://camo.githubusercontent.com/2ffbf481ab8850227f3daaf4ad21770a9d0a57ada33925ccb80d98b3654e4875/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446973636f7264253230436f6d6d756e6974792d353836354632)](https://discord.com/invite/F2WNYTNjuF)[![MIT License](https://camo.githubusercontent.com/a56f9df3e8dbbf6d559c41181021800d218008aeae537b781b38830b7668e709/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d49542d4c6963656e73652d626c7565)](LICENSE)[![GitHub Stars](https://camo.githubusercontent.com/0a5793f2155b98ee142ab533c662764b07f828ebf58e547d8ebb50571f02155d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f7369676e616c776972652f7369676e616c776972652d706870)](https://github.com/signalwire/signalwire-php)

---

What's in this SDK
------------------

[](#whats-in-this-sdk)

CapabilityWhat it doesQuick link**AI Agents**Build voice agents that handle calls autonomously -- the platform runs the AI pipeline, your code defines the persona, tools, and call flow[Agent Guide](#ai-agents)**RELAY Client**Control live calls and SMS/MMS in real time over WebSocket -- answer, play, record, collect DTMF, conference, transfer, and more[RELAY docs](relay/README.md)**REST Client**Manage SignalWire resources over HTTP -- phone numbers, SIP endpoints, Fabric AI agents, video rooms, messaging, and 18+ API namespaces[REST docs](rest/README.md)```
composer require signalwire/sdk
```

---

AI Agents
---------

[](#ai-agents)

Each agent is a self-contained microservice that generates [SWML](docs/swml_service_guide.md) (SignalWire Markup Language) and handles [SWAIG](docs/swaig_reference.md) (SignalWire AI Gateway) tool calls. The SignalWire platform runs the entire AI pipeline (STT, LLM, TTS) -- your agent just defines the behavior.

```
