Send SMS Messages using PHP

Dave Hollingworth

In this short PHP project, you’ll learn how to send an SMS message to a mobile phone / cellphone using PHP.

We’ll use two SMS gateway providers, Infobip and Twilio, in order to compare how they work.

All source code shown is free to download.

Please consider supporting my channel:
☕ https://ko-fi.com/davehollingworth

Code shown in the video:
‣ https://gist.github.com/daveh/6a31d0d28d9aef8c161c6ff1b6d29fae

Links shown in the video:
‣ https://www.infobip.com/
‣ https://www.twilio.com/

PHP packages:
‣ https://github.com/infobip/infobip-api-php-client
‣ https://github.com/twilio/twilio-php

Videos:
‣ Securely Storing PHP Configuration Settings: https://youtu.be/L5E2HSHrDjw

00:00 Introduction
00:14 SMS Gateways
00:54 HTML Form
01:29 Sending Script
01:53 Infobip
05:11 Custom sender ID
06:06 Twilio
08:44 SMS character limit
09:45 Summary

#PHP #sms #project