Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free
  • By Ijeoma Nelson
    How to Create a RESTful API in PHP With SlimPHP 4 and MySQL How to Create a Restful API With SlimPHP 4 and MySQL

    For those times when all you need is a simple solution that enables you to write quick, yet powerful applications, Slim is a great contender amongst the myriad of available PHP frameworks.

    At its core, Slim is a microframework designed to receive HTTP requests, route the requests to the relevant controllers, and return the corresponding HTTP responses.

    Slim’s minimalist environment makes it ideal for the development of both microservices and APIs that consume, repurpose, or publish data.

    In this tutorial, you’re going to learn how to create a RESTful API using Slim 4, PHP, and MySQL.


    To complete this tutorial you will need the following:

    • PHP 7.4. Ideally version 8.1.
    • Composer installed globally.
    • MySQL 8.
    • Postman.

    Let's create the API!

    To begin, you need to create the project’s root directory, named customers-api. You can do this in your editor/IDE or by running the following commands on a …

    Read More
  • By Ijeoma Nelson
    How To Create A Landing Page Leads Notification With Twilio SMS API and PHP How to Create a Landing Page Leads Notification App with Twilio's SMS API and PHP

    For many digital marketers, the landing page, also known as the "squeeze" or "destination" page, is that all important single page that is designed to capture the contact details of potential buyers.

    Typically part of a bigger marketing-funnel sequence, the landing page is designed to lead visitors through a journey that eventually converts them into buyers. However, in situations where the campaign objective requires a personal contact with each new lead as they arrive, a funnel system will not do the job.

    Thankfully, there’s a Twilio SMS API for that!

    In this tutorial, you'll learn how to build a landing page with a fully functional PHP form that sends a “you’ve got a new lead” notification via email and SMS.


    This tutorial assumes a basic understanding of HTML, CSS, Bootstrap, and PHP. In addition, to follow along, you need the following:

    • PHP 7.4. Ideally version 8. …
    Read More
  • Newer
    Sign up and start building
    Not ready yet? Talk to an expert.