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 Brian Iyoha
    Build an SMS-Based Bot in PHP with Laravel to Track COVID-19 Data Build an SMS-Based Bot in PHP to Track Covid-19 Data

    It's no news that the Novel Coronavirus has spread around the world and recently been declared a pandemic by the World Health Organization (W.H.O). Luckily despite “stay-at-home” orders and full lockdowns, information concerning the virus can easily be found on the internet through a simple Google search or on social media platforms.

    However, not everyone has easy, in-home access to the internet. In some third world countries like Nigeria, staying indoors to prevent the spread of the virus makes it difficult to get access to information via the internet. Fortunately, text messages are still a good form of communication because they don't rely on one having internet connectivity.

    In this tutorial, you will build a simple SMS-based bot to help get information about the Novel Coronavirus cases in a country using Twilio Programmable SMS.

    Prerequisites

    To follow this tutorial, you will need the following:

    • Basic knowledge of …
    Read More
  • By Brian Iyoha
    Adding a Click-to-Call Button to your Laravel Application Adding a Click to Call Button to your Laravel Application

    In this tutorial, we will be building a simple Laravel application that allows users to place automated calls at the click of a button using Twilio Programmable Voice.

    Prerequisites

    To follow through with this tutorial, you will need the following:

    Project Setup

    Get started by first creating a new Laravel project using the Laravel installer. Open up a terminal and run the following:

    $ laravel new twilio-call-button
    

    NOTE: You need to have the Laravel installer already installed on your local machine. If you don't, then head over to the official documentation to see how to get it installed.

    The Twilio PHP SDK is required to make API requests to the Twilio servers. Open up a terminal in your project directory (twilio-call-button) and run the following command to get it installed via …

    Read More
  • By Brian Iyoha
    Routing Customer Service Calls to Agents in PHP with Twilio Programmable Voice and Laravel with Twilio Programmable Voice and Laravel.png

    Oftentimes when running a business, you might have different departments handling specific cases for customer service. These departments can't always have a dedicated support line that is accessible directly to the public, as various automated troubleshooting options might be in place to assist your customers and reduce spamming. However, most of the time your customers might need to speak directly with a human agent and there's no better way to do this than easily linking the customer directly to an available agent while their call is still active.

    In this tutorial, you will learn how to make use of Twilio Programmable Voice to route calls to third party phone numbers during an active call.

    Prerequisites

    To follow through with this tutorial, you will need the following:

    Project Setup

    Laravel will be used as the application …

    Read More
  • By Brian Iyoha
    Build a WhatsApp Chatbot with Twilio WhatsApp API, PHP, and Laravel Build a WhatsApp Chatbot with Twilio WhatsApp API, PHP, and Laravel

    Conversations with family and friends about sensitive topics can often lead to arguments. Ironically, many of these conversations don’t take place in person anymore, they happen in real-time via chat apps like WhatsApp.

    When these awkward situations occur, you might find yourself needing to fact check a statement or quickly look up some information. Usually, this would require you to fire up your web browser which could be quite inconveniencing when time is of the essence. In a perfect life, it would be better to use a chatbot to seamlessly connect with for information. With services like the Twilio WhatsApp API, you can build custom solutions like these to power-up your chatting experience.

    In this tutorial, we will build a simple WhatsApp Chatbot that allows you to get information about a developer's GitHub profile using just their username.

    After successfully following this tutorial, you will have learned how to …

    Read More
  • By Brian Iyoha
    Sending One-time Passwords in WhatsApp using PHP, Laravel, and the Twilio API for WhatsApp Send One Time Passwords using Twilio API for WhatsApp

    WhatsApp is often contested as the world’s most popular messaging app, allowing its users to communicate securely and in real-time. As a business owner, you can build upon the speed and security provided by WhatsApp to engage with your customers, send alerts and notifications, provide customer support, or even send One-Time Passwords (OTPs) to your customers.

    In this tutorial, you will learn how to send WhatsApp notifications to your users by sending out one-time passwords (OTP) via WhatsApp using the Twilio API for WhatsApp during registration.

    Prerequisites

    To follow through with this tutorial, you will need the following:

    Project Setup

    This tutorial will make use of Laravel, so the first step is to generate a new Laravel application. Using the Laravel Installer, generate a new Laravel project by running the …

    Read More
  • By Brian Iyoha
    Increase User Engagement by Sending Out Periodic Emails with Laravel, PHP, and SendGrid Increase User Engagement by Sending Out Periodic Emails with Laravel, PHP, and SendGrid

    In this tutorial, we will look at how we can send out periodic emails in a Laravel application using Twilio SendGrid.

    Prerequisites

    In order to follow this tutorial you will need:

    Project setup

    Start off by creating a new Laravel project for your application. This can be done either by using the Laravel installer or Composer. For this tutorial, the Laravel installer will be used. If you don't have the Laravel installer already installed, head over to the Laravel documentation to see how to. If installed, open up a terminal and run the following command to create a new Laravel project:

    $ laravel new periodic-emails
    

    Next, you need to install the Sendgrid PHP Library which will be used for communicating with the SendGrid service. Open up a …

    Read More
  • By Brian Iyoha
    Building an Order Tracking System in Laravel Powered by Twilio SMS Building an Order Tracking System in Laravel Powered by Twilio SMS

    In today's world where online shopping is at an all-time high, the chances of your e-commerce site standing out are going to be based on how much you can get your customers to trust in your service(s) and the level of satisfaction gotten from using them. One way of improving customer satisfaction and "trust" in your online shop is by allowing your customers to gain knowledge about the current state of their package.

    An order tracking system will allow your customers to gain more information about the current status/location of their package. Doing this will help increase the satisfaction of your customers, as they too will have detailed insight into where their package is at any given point in time until it arrives at their desired location.

    In this tutorial, you will learn how to use Twilio’s Programmable SMS to create an order tracking system using Laravel and update users …

    Read More
  • By Brian Iyoha
    How to Build a Web-Based Email Client in Laravel PHP using Twilio SendGrid Laravel Email Client

    Building an app and sharing it with the world can be an intimidating process. In the early stage of your development and marketing, the need to keep in touch with your users becomes critical to your growth.

    One of the best ways to keep in touch with your users is via email. Emails can be used to keep your users in the loop of the latest features, "bug" fixes, and also a great way to follow up on inactive users.

    In this tutorial, we will look at how we can build a custom web-based email client to add to an existing Laravel Application. After completing this tutorial, you will have built a custom mailing system using Laravel and Twilio SendGrid.

    Prerequisites

    In order to follow this tutorial you will need:

    • Basic knowledge of Laravel
    • Laravel installed on your local machine
    • Composer globally installed
    • MySQL set up on your local …
    Read More
  • By Brian Iyoha
    Building a Food Ordering App in PHP with Laravel and Twilio SMS Building a Food Ordering App in PHP with Laravel and Twilio SMS

    In this tutorial, I will teach you how to use Twilio’s Programmable SMS to create an SMS based food ordering service using Laravel. After we’re finished, your users will be able to place orders for food items via SMS.

    Prerequisites

    In order to follow this tutorial, you will need:

    Getting Started

    Start off by creating a new Laravel project. This can be done using either the Laravel installer or Composer. We will be making use of the Laravel installer in this tutorial. If you don’t have it installed, you can check out how to do so from the Laravel documentation.

    To generate a fresh Laravel project, run the following command on your terminal:

    $ laravel new twilio-food-ordering
    

    Next, proceed to install the Twilio SDK for PHP. Change your working directory to …

    Read More
  • By Brian Iyoha
    Securing a Laravel PHP Application with 2FA using Twilio Authy Securing a Laravel PHP Application with 2FA using Twilio Authy

    In this tutorial, you will learn how to secure your Laravel application with Two-factor authentication using Twilio Authy.

    Prerequisites

    Completing this tutorial will require the following:

    Getting Started

    Create a new Laravel project using the Laravel Installer. If you don’t have it installed or prefer to use Composer, you can check out how to do so from the Laravel documentation. Run the following command in your terminal to generate a fresh Laravel project:

    $ laravel new twilio-authy
    

    Next, you will need to set up a database for the application. For this tutorial, we will make use of MySQL database. If you make use of a database administrator like phpMyAdmin for managing your databases then go ahead and create a database named twilio-authy and skip this section. If not, install MySQL from …

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.