smsmobileapi/smsmobileapi-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

smsmobileapi/smsmobileapi-php

Composer 安装命令:

composer require 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.

README 文档

README

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!

统计信息

  • 总下载量: 213
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-25