PHPackages                             smsmobileapi/smsmobileapi-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. smsmobileapi/smsmobileapi-php

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

smsmobileapi/smsmobileapi-php
=============================

A PHP SDK that allows sending SMS and WhatsApp messages directly from your own phone number, enabling recipients to reply to you instantly without any third-party provider.

7605↑140%PHP

Since Feb 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/SmsMobileApi/smsmobileapi-php)[ Packagist](https://packagist.org/packages/smsmobileapi/smsmobileapi-php)[ RSS](/packages/smsmobileapi-smsmobileapi-php/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

SMSMobileAPI PHP SDK
====================

[](#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 &amp; WhatsApp via Your Own Mobile, for Free!
=======================================================================

[](#-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!

[](#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 &amp; 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?
--------------------------

[](#-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
--------------

[](#-how-it-works)

1️⃣ **Download &amp; 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 &amp; WhatsApp messages** instantly!

Prerequisite: Install the SMS Mobile API App
--------------------------------------------

[](#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.

- Download SMS Mobile API for Android:
- Download SMS Mobile API for iOS:

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

Installation
------------

[](#installation)

Use Composer to install the SDK:

composer require smsmobileapi/smsmobileapi-php

Features
--------

[](#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
-------------

[](#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
-------------

[](#documentation)

For full API documentation and more examples, visit:

License
-------

[](#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!

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4fb95b68000f8807fe73f72fbbb1ab021c2bc25dc82cac43b092fc3838a6296?d=identicon)[smsmobileapi](/maintainers/smsmobileapi)

---

Top Contributors

[![SmsMobileApi](https://avatars.githubusercontent.com/u/162003158?v=4)](https://github.com/SmsMobileApi "SmsMobileApi (18 commits)")

### Embed Badge

![Health badge](/badges/smsmobileapi-smsmobileapi-php/health.svg)

```
[![Health](https://phpackages.com/badges/smsmobileapi-smsmobileapi-php/health.svg)](https://phpackages.com/packages/smsmobileapi-smsmobileapi-php)
```

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
