
Learn to send and receive text messages using a PHP application with a third-party API. Grasp the core concept of connecting to any API to plug in your app.
You can download all the project files!
Set up essential PHP tools for this course, Mac or Windows environments, Brackets, PhpStorm, and Composer, and download reference files to code with a third party SMS API.
Sign up for a third-party API to send SMS with PHP, verify email and phone, select a sending number, and use test credentials to test messaging without depleting balance.
Build the folder structure by creating includes, public, and app directories, and add header, footer, and config files inside includes. Create public files like code.php, reply.php, and styles CSX file.
Set up Twilio credentials, including the account SID and auth token, for later use in the SMS app. Securely store test credentials and the test number.
Set up PHP sessions and output buffering, include required files, and download header and footer templates that use Bootstrap to prepare the SMS sending script.
Set up the home page by including header and footer in PHP, preview locally, download and test the form, and verify post data echoes it works.
Set up the PHP SDK with composer, load the autoloader, and instantiate the Twilio client to prepare sending a message (part 1) using form inputs, with validation and error handling.
Learn to send an SMS in PHP via the API's create method, passing the recipient number and message body, and debug errors while testing credentials and inbound number validity.
Set up a code page to auto-send a verification code to phones using the Twilio REST API, generate a unique code, and store it in a database for verification.
Create a database and a verifications table with a code column, establish a PHP connection, and insert the verification code to test the SMS verification flow.
Implement a PHP account verification flow by validating submitted code on the verify page, comparing it with a database record, and redirecting to a success page while removing used codes.
Thank students for completing the course, invite feedback and five-star reviews, and encourage them to check the instructor's profile for more upcoming courses.
The course has been UPDATED in April 9th, 2020. I created all the lectures brand new from scratch.
In this course, you are going to learn to implement an SMS feature to any PHP website or application.
Most web applications are using SMS to verify user identity these days and these feature has become necessary to any application.
As more people get online these days, more hackers and bad people as well, and they are after user identities. Companies have understood how important is to secure their user data and that's why more features are being implemented all the time.
We more security questions, more Recaptcha code, email verifications, and no more phone call verifications than ever before. You as a developer should know how to implement this to your applications.
Come join me in this new adventure and let's get ahead of the game today!