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

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

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

turkeysms/php-sdk

Composer 安装命令:

composer require turkeysms/php-sdk

包简介

Official TurkeySMS API V4 Generic PHP SDK

README 文档

README

Official TurkeySms V4 Generic PHP Client — Modern, PSR-4 compliant SDK powered by Guzzle. Seamlessly integrate SMS & OTP into any standard PHP environment.

🛠 Installation

Install the package via Composer:

composer require turkeysms/php-sdk

🚀 Quick Start

Initialize Client

require 'vendor/autoload.php';

use TurkeySms\TurkeySms;

$client = new TurkeySms("your_api_key_here");

Sending Standard SMS

$result = $client->send([
    'mobile' => '905xxxxxxxxx',
    'text'   => 'Hello from TurkeySMS PHP SDK!',
    'title'  => 'SENDER_ID'
]);

print_r($result);

Sending OTP SMS

$result = $client->sendOtp([
    'mobile' => '905xxxxxxxxx',
    'lang'   => 1, // 0: English, 1: Turkish, 2: Arabic
    'digits' => 4
]);

Check Balance

$balance = $client->getBalance();
echo "Your balance: " . $balance['balance'];

🛡 Security

If you discover any security-related issues, please email support@turkeysms.com.tr instead of using the issue tracker.

📄 License

The MIT License (MIT). Please see License File for more information.

© 2026 TurkeySMS Bilişim ve İletişim Hizmetleri Tic. Ltd. Şti.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固