承接 texionline/texi-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

texionline/texi-php

最新稳定版本:v0.1.1

Composer 安装命令:

composer require texionline/texi-php

包简介

Texi PHP Library for integrating with TexiOnline SMS service

README 文档

README

This PHP library provides convenient methods to interact with the TexiOnline API, enabling you to easily integrate SMS functionality into your PHP applications.

Installation

To install the Texi PHP library, you can use Composer:

composer require texionline/texi-php

Usage

// Include the Texi PHP library
require_once('vendor/autoload.php');
// or require_once('vendor/texionline/texi-php/Texi.php');

// Set up your API key and other configurations
$apikey = 'YOUR_API_KEY';
$recipient = 'PHONE_NUMBER';
$message = 'Your SMS message here';

// Send an SMS using TexiOnline
texi_send('https://texionline.com', $api_key, $recipient, $message);

Make sure to replace 'YOUR_API_KEY', 'PHONE_NUMBER', and 'Your SMS message here' with your actual API key, recipient phone number, and message content.

API Reference

texi($base_url, $apikey, $recipient, $message)

Sends an SMS using the TexiOnline API.

  • $base_url: The base URL for the TexiOnline API.
  • $apikey: Your TexiOnline API key.
  • $recipient: The phone number of the SMS recipient.
  • $message: The content of the SMS message to be sent.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please submit an issue or a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-21