From building chatbots to RESTful APIs from scratch, this month’s roundup includes several engaging tutorials. We’ve compiled our top seven PHP tutorials to help you build the future of communications this summer while you’re coding in the air conditioner or at your favorite resort.
Can you keep a secret?
Game of Thrones has ended and Avengers has already cycled through the box office, but with the fall season premieres quickly approaching, a new opportunity to spoil your friends' favorite shows is just around the corner. In this intriguing tutorial by Dotun Jolaso, you will learn how to build a spoiler app in PHP with Twilio SMS and Laravel. Your Laravel app will employ bulk SMS messaging via Twilio Copilot to tease subscribers with spoilers after the show airs.
Everyone needs a little REST
APIs are not only the backbone of Twilio, but they are also arguably the foundation of every application on your phone, favorite web app, and even the routing of your money through banks. You will need an API to seamlessly transfer information, whether you’re building a single page web app in React or your next iOS hit. This easy-to-follow tutorial by Michael Okoh will walk you through building and consuming a RESTful API in Laravel.
Did you know those were fake?
So you’ve spent $395 on the new Nike Air Fear of God high tops only to find out that the shoes you ordered online were fakes. Wouldn’t it be awesome if there was a system that would allow you to verify the authenticity of products with the retailer before you shell out your hard earned money? That’s exactly what Brian Iyoha built in his MySQL-based tutorial, Building an SMS-Based Product Verification Application with MySQL and Laravel PHP.
Your domain expires in 30 days
I’ll never forget the time a domain I managed for a freelance client expired and the registrar told me that I would have to pay over $100 to reclaim a $4 domain. The dread that I felt, followed by the confusion of how I missed the date was quelled by a “one-time forgiveness” of the registration fee. I vowed that I would never miss another deadline and you know what? I forgot again. This is why Michael Jaroya’s tutorial to send domain renewal and expiry notifications using Namecheap API, Twilio SMS, and PHP would have been a life-saver.
Create a phone validator
“336-555-5555 is a landline #”. What a waste of a perfectly good SMS! To detect if the number you have for someone is a landline or cellphone, check out this tutorial by Ugendu Ositadinma. This phone validator uses Authy to detect whether or not the phone number you’re texting is a landline.
Chatbots taking over jobs
“The robots are taking over!” is seemingly the title of every headline used to discuss the future of our lives with robots. While I’m not sure that my job is in jeopardy of being replaced, I am sure that AI-powered chatbots that improve customer experiences are pretty awesome. Twilio’s Autopilot is one of my favorite products because of the ease-of-use in building a chatbot. Charles Oduk’s tutorial is a great place to get started if you want to learn how to create a WhatsApp Chatbot that books appointments in Google Calendar.
See You Next Month
Are you creating something awesome in PHP and would love to be featured? Drop a note to firstname.lastname@example.org so we can take a look at it. We can't wait to see what you teach your fellow developers to build next.