Skip to content

SmsMobileApi/smsmobileapi-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMSMobileAPI PHP SDK

SMS Mobile API is a PHP SDK that allows developers to send SMS and WhatsApp messages via the SMS Mobile API.
Unlike traditional SMS providers, messages are sent directly from your own mobile phone, using your own number.
This means that your contacts can reply to you directly, just like a regular message, without any third-party SMS provider in between.

🚀 SMSMobileAPI – Send SMS & WhatsApp via Your Own Mobile, for Free!

Turn Your Smartphone into a Powerful SMS Gateway – No Third-Party Costs, No Hidden Fees!

Tired of expensive SMS gateways? SMSMobileAPI allows you to send SMS & WhatsApp messages directly from your own mobile phone, using your existing mobile plan. If you have an unlimited SMS plan, you can send as many messages as you want at zero additional cost!

🔥 Why Choose SMSMobileAPI?

No per-message fees – Messages are sent via your own mobile plan
No external providers – No middlemen, just direct SMS from your phone
Full API integration – Works with WooCommerce, Shopify, Zapier, Python, and more
Receive SMS replies – Messages are fully bidirectional
Easy to set up – Just install the mobile app and start sending

🚀 How It Works

1️⃣ Download & install the SMSMobileAPI app on your phone
2️⃣ Generate your API key in the app
3️⃣ Integrate our API into your system
4️⃣ Start sending SMS & WhatsApp messages instantly!

Prerequisite: Install the SMS Mobile API App

Before using this SDK, you must first install the SMS Mobile API mobile app on your Android or iOS device. This app is required to connect your phone to the API for sending and receiving SMS messages.

Once the app is installed and configured, you can obtain your API key from within the app to use with this PHP SDK.

Installation

Use Composer to install the SDK:

composer require smsmobileapi/smsmobileapi-php

Features

  • Send SMS: Easily send SMS messages using a simple PHP function
  • Send WhatsApp Messages: Send messages via WhatsApp
  • Easy Integration: Integrates with your PHP applications with minimal setup
  • API Key Authentication: Secure communication through API key-based authentication

Usage Example

require 'vendor/autoload.php';

use SMSMobileAPI\SMSMobileAPI;

$apiKey = 'YOUR_API_KEY'; 
$smsAPI = new SMSMobileAPI($apiKey);

// Send an SMS
$response = $smsAPI->sendMessage(
    '+123456789',  // Recipient
    'Hello from SMS Mobile API PHP SDK!',  // Message
    sendWA: true,  // Send via WhatsApp
    sendSMS: true  // Also send as SMS
);

print_r($response);

Documentation

For full API documentation and more examples, visit: https://smsmobileapi.com/doc

License

This SDK is open-source and licensed under the MIT License.

Now you can integrate SMS and WhatsApp messaging into your PHP applications effortlessly!

About

PHP SDK for SMS Mobile API – Send SMS and WhatsApp messages from Mobile Phone easily with PHP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages