Book Image

Twilio Best Practices

Book Image

Twilio Best Practices

Overview of this book

Table of Contents (15 chapters)
Twilio Best Practices
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The conference calling tool


Secondly, we're going to build a simple conference calling tool, which is suitable for any small business or organization. Ours will be virtually free to run, requiring just a little Twilio credit and somewhere to host our PHP, and it will support great features such as call recording.

There are three components to this tool:

  • A simple website with a Create, Read, Update, Delete (CRUD) interface to manage our conference calls.

  • TwiML to handle incoming calls and dial them in to the correct conference.

  • An endpoint to listen for Twilio's callback with the URL of a recording of our conference.

Let's get started.

Preparing the project

We'll need to get our dependencies set up, and then we'll be ready to start writing some real code.

This time around, we're going to work with a PHP framework called Laravel (http://laravel.com). Laravel is a PHP framework for web artisans, which moves us away from individual PHP files for each page (like we've seen previously) towards a more...