isadma/laravel-smpp 问题修复 & 功能扩展

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

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

isadma/laravel-smpp

最新稳定版本:v1.0.6

Composer 安装命令:

composer require isadma/laravel-smpp

包简介

Laravel package to send SMS using SMPP

README 文档

README

Latest Version License

A simple Laravel package to send SMS messages using the SMPP protocol, built on top of alexandr-mironov/php8-smpp.

🚀 Features

  • Laravel-ready SMPP client
  • Reads SMPP config from .env
  • Clean service-based architecture
  • Exception-driven error handling

📦 Installation

Require the package

composer require isadma/laravel-smpp

⚙️ Configuration

Add the following to your .env file:

SMPP_IP=ip_address
SMPP_PORT=port_number
SMPP_FROM=your_short_number
SMPP_USERNAME=your_smpp_username
SMPP_PASSWORD=your_smpp_password

The published config file will be available at: config/smpp.php.

💡 Usage

You can use the Facade for cleaner syntax:

use Smpp;

SmppService::sendMessage('9936XXXXXXX', 'Your message');

📄 License

This package is open-sourced software licensed under the MIT license.

🙏 Credits

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-12