Get Started

Twilio Client PHP Quickstart

Overview

Twilio Client allows you to:

  • Make calls from the browser
  • Receive calls in the browser
  • Make calls between two browsers

Make Outbound Phone Calls From the Browser

With Twilio Client, your browser is a now a phone! Make calls from your browser to any phone with just the click of a button.

Receive Inbound Phone Calls in the Browser

Did we mention that your browser is a phone? Not only can you make calls from the browser, but you can receive them too!

Make Calls Between Two Browsers

Don’t have a phone? Never fear, you can even make calls from browser to browser. With Twilio Client, who needs a phone?

Prerequisites

  1. A browser that supports Twilio Client. Check http://clientsupport.twilio.com to see if your browser is compatible.
  2. A Twilio Account SID and Auth Token to initiate calls from the browser. You will find these under your Account Dashboard. If you don't have an account, you can always use a free trial account.
  3. A Web server to run the example code.
  4. A Twilio helper library.

Code

You can either copy and paste the source code from this page, or you can download all the examples and run them directly, but don't forget that you'll need to substitute your own AccountSid and AuthToken in each file.


Next: Hello Monkey Client »