SMS Arc provides a simple way to send SMS with PHP allowing you
to integrate text messages into your web application and connect with your users.
Send SMS with PHP using one line of code!
After adding our plug and play code, you can easily send a text message in PHP with the following: sms($to, $from, $msg) will send a message to the number you specify. This allows you to control the message you are sending, as well choosing the FROM phone number attached to the message.
Send SMS with PHP POSTClick to show PHP Post Sample Code
Send SMS with PHP GETClick to show PHP Post Sample Code
Send SMS From Your Web Application
Now that you know how to send a text message using PHP, you can begin integrating SMS into your web applications and create new features with SMS functionality.
Before you can get started you need to create an account and choose a number to send text messages from.
Get Your API Key Free
What Number does PHP display to recipients?
When you send a text message with PHP, the message will display the number provided by your account. SMS Arc provides you with thousands of numbers to choose from. You can activate any number, and even choose a number in a specific area or region. Activating a number with SMS Arc is instant, and the number you choose will be the number associated to any SMS messages that you send with PHP.
Need more than one number?
SMS Arc allows you to activate as many local or toll-free numbers as your platform needs with one click.
Still have questions?
How To Send SMS with PHP
We answer frequently asked questions below. Click on one of the questions below to find the answer.
Do I need to install anything on my web server?
You do not need any special software to send SMS with PHP.
SMS Arc handles all of the heavy lifting, and sends the SMS for you. Using our API you send us the destination number and message to send using PHP. With our API, we help you to instantly deliver SMS across the globe.
Can I send SMS with PHP curl?
Definitely. We provide an endpoint you can call using CURL. You can perform a GET or a POST request to send your text message.
How Fast can PHP send SMS?
You can send one SMS per second using PHP with the SMS Arc API. Messages sent during this cooldown will be rejected. Please be sure you use PHP sleep(1); between messages if you are sending multiple text messages.
What is the longest text message PHP can send?
The longest message that can be sent is 160 characters. However, if you send us a longer message we will automatically split it up for you into multiple messages.
Can I send MMS with PHP?
Of course. You can provide the SMS Arc API with any valid http or https URL of any JPG, PNG or GIF. We will attach this to any message to send a MMS with PHP.
Can I verify mobile phone numbers with PHP?
With our SMS API, you can send a verification code to your users when they provide their number. Ask them for the verification code that you send to verify their mobile number.
How do I perform a Carrier Lookup with PHP?
SMS Arc will automatically manage all of the difficulty with handling carrier support and SMS deliverability. Save time, and steps with our API!
Where do I get my API Key from?
You can generate as many API Keys as you need from within your SMS Arc dashboard. Click here to view your API keys.