Cómo implementar la verificación de la cuenta e iniciar sesión por teléfono en Laravel
Es posible que en ocasiones desee crear una app que utilice un número de teléfono junto con una contraseña como medio de autenticación en lugar de un correo electrónico con una contraseña, como se usa habitualmente. En otros casos, no usa necesariamente un número de teléfono como un como medio de autenticación, pero tener un número de teléfono es fundamental para su app. En tales situaciones, es muy importante que verifique que los números de teléfono que proporcionan los usuarios sean válidos y estén en funcionamiento. Una manera de hacer esto es mediante una llamada en la que se brindará un código que tendrán que proporcionar a la app. Si usted usa Gmail, probablemente ya esté familiarizado con la verificación por llamada de voz. En este artículo, le mostraremos cómo puede lograr eso utilizando Laravel y el excelente servicio de Twilio. Vamos por ello.
En este tutorial, …
How to Initiate a Voice Call from Laravel PHP with Twilio Programmable Voice
In this tutorial, we will be creating a Laravel application that will be used to make outbound voice calls. We will be making use of Twilio's Programmable Voice feature to learn how to initiate voice calls.
Completing this tutorial will require the following dependencies and a basic understanding of them.
Before we proceed with this tutorial, it is expected that you have a voice-enabled Twilio number. In case you do not have one, please proceed to purchase one here. This number will be used for the "from" number later in this tutorial.
Setting Up Your Development Environment
Let's install a new Laravel project via the Composer
create-projectcommand. From your terminal, run the following command:
$ composer create-project --prefer-dist laravel/laravel twilio-voice
This will create a Laravel project for us in the
Save Voicemails to Dropbox with Twilio Voice API, PHP, and Laravel
There are a number of ways to record calls with Twilio. Whichever method you decide to use, it is very important to keep the storage space used below the chargeable limit to prevent added cost. To achieve this, you need to backup up and delete your voice recording occasionally. Storage over 10,000 minutes per project is billed by the minute, once a month.
In this tutorial, we are going to discuss how to automate recordings management with recording status callback, download recordings programmatically via the REST API, save the recordings in Dropbox and finally delete the recordings programmatically via the REST API.
You will need the following technologies and tools:
- Twilio Account
- Dropbox account
- Composer globally installed
- PHP development environment Laravel
To follow along, you should have a basic understanding of PHP. Knowledge of the Laravel framework is not required. You can choose to use any other …
How to Implement Account Verification and Login by Phone in Laravel
At times, you might want to create an app that uses a phone number/password pair as a means of authentication, as opposed to the normal email/password pair. In some other cases, you are not necessarily using phone numbers as a means of authentication, but having a phone number is critical to your app. In such situations, it is very important you verify that the phone numbers your users provide are valid and functional. One way to do this is to give them a call and tell them a code that they will have to provide to your app. If you use Gmail, then you are probably familiar with the voice call verification it uses. In this article, I will be showing you how to achieve that using Laravel and Twilio’s excellent service. Let’s get to it.
For this tutorial we’ll assume the following:
- You use Laravel valet …
How to Create a Voice-Based Reservation System in Laravel with Twilio <Pay>
“Please listen carefully, as our menu options have changed.”
It is rare that I find myself memorizing a company’s IVR options. It is much more common for me to repeat "Representative" into the phone and press the 0 key until something works.
As a small business owner, I find most IVRs to be out of touch with reality. While I want to engage my customers 24/7/365, I don’t want to make their lives difficult. I recently had an experience with an airline call center that allowed me to take control of my reservation without ever speaking to a representative.
As a developer and Twilio fan, I began writing pseudo-code in my head of how I could build a simple call center that would not only give my customers a personalized self-service portal, but would also allow for my employees to focus their time on more involved interactions.
How to Verify Phone Numbers with PHP, Symfony and Twilio
In this post we’ll learn how to verify phone numbers with Twilio in a Symfony project. We will discover how to model and validate a user’s phone number, and then use Twilio’s PHP SDK to create a call flow where the user has to enter a 6 digit code to verify themselves. The frontend view will provide a form to capture their number, displaying further instructions or validation errors, and then seamlessly redirect the user to another page once they’ve been verified.
If you need a refresher on Symfony, check out creating a Symfony 3 project with basic user handling. Those of you who don’t use Symfony should be able to carry the core ideas across to your framework of choice. Knp University’s …
Exchange Solutions Builds An IVR Platform For Personal Customer Support, Runs 660k Calls In 10 Days
National retailers are all vying for a limited pool of customers. The pressure to set themselves apart from their competitors is higher than ever. The only way to do that is by giving customers a fantastic experience.
One leading national retailer wanted to level up their customer loyalty program, replacing the old program and offering phone support for the new program. They enlisted the help of Exchange Solutions, an organization that specializes in building customer engagement programs.Using Twilio, they built an IVR system which logged over 600,000 calls in ten days.
Scaling Customer Experience With Customer-Centric Software
On the day of the launch, Exchange Solutions had a Twilio-powered toll free number that forwarded to their client’s call center set up and ready to rock. They were expecting about 50,000 calls within the first month. They received 180,000 calls on the first day.
Exchange Solutions had a team on deck, …
EmoPhone: How To Build A Twilio-Powered IVR Using PHP and ngrok
Before cell phones, there were only landline phones. In high school, I frequently called the person I had a crush on at home. Calling a semi-private phone number to have private conversations was always a rough time. I hoped against all odds that my crush would be the one answering my call and not their parent or sibling. Awkward conversations with disapproving fathers were plentiful in this landline era.
I don’t want to relive the existential dread of those phone calls. But, I do want to use a phone call as a means to unlock nostalgia and coding skills. Fire up Terminal and break out your mixtape CDs. We’re building EmoPhone, a Twilio-Powered IVR that plays emo music using PHP, and ngrok. Try it out right here: +1 504-684-7369
Before we get going with the tutorial (and a litany of references to my favorite emo bands) …
How to Build Call Tracking with Google Analytics, Twilio and PHP
“Half the money I spend on advertising is wasted. The trouble is, I don’t know which half.”
– John Wanamaker
Dear Saul Goodman, Esq.,
First off, my compliments on your phenomenally effective advertising. I can’t drive down the streets of Albuquerque, sit at a bus stop or watch my favorite shows on AMC without seeing one of your ubiquitous “Better Call Saul” ads.
Judging from the, shall we say, “economical” production quality of your ads, you seem to be a man who wants to squeeze every drop of value from your marketing budget. You’ve probably wondered things like, “Do those billboards actually generate leads, or would I be better off buying another late-night TV spot instead?”
It must be frustrating, given that you use the same phone number for all your ads, to be unable to answer those questions. This is why call tracking is important — to help you …
Getting Started with Twilio and the Laravel framework for PHP
As I orient myself in the PHP multiverse, I am discovering that the language seems to be entering something of a renaissance. When …