Setting up the client
In this recipe, we're going to set up a simple Twilio Client app.
We'll set up our app to let you make a call by pushing a button. For now, the call will just be a welcome message.
How to do it…
This first recipe will set up a basic Twilio Client app in the following manner:
First, since this recipe is using Twilio Client, you need to set up a TwiML app under your account as shown in the following screenshot:
Click on the Create TwiML App button and enter a name for your app. Leave the Voice Request URL field empty for now; just add a name in the Friendly Name field and click on Save Changes as shown in the following screenshot:
Now, go back to the application list, and you will see your new application. Look at the line directly beneath the name of your application. That is your application SID; copy it as you will need it for this recipe.
Download the Twilio Helper Library available at https://github.com/twilio/twilio-php/zipball/master and unzip it.
Upload the
Services...