|All requests||>||Recommendation for a PHP class to sen...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Ankur Veera - 2 years ago (2020-07-05)
I wants to send a SMS with PHP itself with the POST method so I need help.
3. by Hassane Moussa - 2 years ago (2020-07-06) Reply
Hi Veera, You need send sms with PHP using GSM MODEM ?let me know your need or explain again.
2. by Edward Paul - 2 years ago (2020-07-06) Reply
Can you make a better clarification, so your request can be understood claerly
1. by Manuel Lemos - 2 years ago (2020-07-06) Reply
Hello Ankur, do you mean having PHP to send SMS messages to each company carrier directly or may be using an API to send the messages and then the API company would send the messages to the respective phone company of the recipient of the message?
4. by Croop Ninja - 2 years ago (2020-08-22) in reply to comment 1 by Manuel Lemos Comment
Hi Manuel, I would like to understand the concept of PHP to send SMS using API to send the messages and then the API company would send the messages to the respective mobile company of the recipient of the message. In my case, i have API key and details but the API provider does not have documentation for PHP. Kindly advise.
5. by Manuel Lemos - 2 years ago (2020-08-22) in reply to comment 4 by Croop Ninja Comment
Hello Croop, an API is a service provided by another site that performs the action that to you to be executed.
In your case you want to send SMS messages. You just need to send a HTTP request to another site that provides the SMS sending action and that site service will send the SMS messages to the recipients that you pass them.
Below I am recommending a package for you to try and use a SMS sending service using its API.
Using an open source Android SMS Gateway App which is described in the documentation, you will be able to send and receive SMS using your Android phone with this simple PHP class. Data are stored in a flat-file structure, and some examples are provided. Receiving messages and status can by handled by callback functions that you define yourself.
Try this package to send SMS messages via Twilio.