PHPackages                             tourze/tencent-cloud-sms-bundle - 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. tourze/tencent-cloud-sms-bundle

ActiveSymfony-bundle

tourze/tencent-cloud-sms-bundle
===============================

腾讯云短信服务集成模块，支持消息发送、状态同步和统计分析

0.0.1(6mo ago)00MITPHPCI passing

Since Nov 3Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/tourze/tencent-cloud-sms-bundle)[ Packagist](https://packagist.org/packages/tourze/tencent-cloud-sms-bundle)[ RSS](/packages/tourze-tencent-cloud-sms-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (44)Versions (2)Used By (0)

TencentCloudSmsBundle
=====================

[](#tencentcloudsmsbundle)

[English](README.md) | [中文](README.zh-CN.md)

[![Latest Version](https://camo.githubusercontent.com/81ee252fc996822af4164ec09ebd471fe835583e82c5b1e0368f4851a095f0fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f74656e63656e742d636c6f75642d736d732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/tencent-cloud-sms-bundle)[![PHP Version](https://camo.githubusercontent.com/abd2d3469ef6e5bf8d49ea6d5da090898b4d1fe7b6068d181fda2ec846e8392a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f74656e63656e742d636c6f75642d736d732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/tencent-cloud-sms-bundle)[![License](https://camo.githubusercontent.com/48db05345640db6a1fbc24cdf0234c44f2666dc15b151d5e087a10e76b39476d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f74656e63656e742d636c6f75642d736d732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/tencent-cloud-sms-bundle)[![Total Downloads](https://camo.githubusercontent.com/f64887c6c2a4fa787e611a877b170e381adfa9a1877a2019a3388b5ee7187075/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f74656e63656e742d636c6f75642d736d732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/tencent-cloud-sms-bundle)[![Build Status](https://camo.githubusercontent.com/3c75cbf80739d3f42836bab035102123295320544fd5b4157e0fec7fc34b2780/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f75727a652f7068702d6d6f6e6f7265706f2f63692e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/tourze/php-monorepo/actions)[![Code Coverage](https://camo.githubusercontent.com/25302785664d5a8cdcf76f70ff42adf08dd5b6b917d810c411858f48be62149a/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f746f75727a652f7068702d6d6f6e6f7265706f2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/tourze/php-monorepo)

Tencent Cloud SMS service integration module providing comprehensive SMS sending, status synchronization, and statistical data management functionality.

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Configuration](#configuration)
    - [1. Register the Bundle](#1-register-the-bundle)
    - [2. Configure Doctrine Entities](#2-configure-doctrine-entities)
- [Quick Start](#quick-start)
    - [Basic SMS Sending](#basic-sms-sending)
    - [Status Synchronization](#status-synchronization)
- [Available Commands](#available-commands)
    - [Synchronization Commands](#synchronization-commands)
        - [Sync Phone Number Information](#sync-phone-number-information)
        - [Sync SMS Signature Status](#sync-sms-signature-status)
        - [Sync SMS Delivery Status](#sync-sms-delivery-status)
        - [Sync SMS Template Status](#sync-sms-template-status)
        - [Sync Unknown Status SMS Records](#sync-unknown-status-sms-records)
        - [Sync SMS Statistics Data](#sync-sms-statistics-data)
- [Core Services](#core-services)
    - [SmsSendService](#smssendservice)
    - [StatusSyncService](#statussyncservice)
    - [StatisticsSyncService](#statisticssyncservice)
    - [PhoneNumberInfoService](#phonenumberinfoservice)
    - [SmsClient](#smsclient)
- [Advanced Usage](#advanced-usage)
    - [Custom Template Parameters](#custom-template-parameters)
    - [Batch Status Synchronization](#batch-status-synchronization)
    - [Statistics Reporting](#statistics-reporting)
- [Contributing](#contributing)
- [License](#license)

Features
--------

[](#features)

- 📤 SMS sending service with template support
- 📊 SMS statistics data synchronization
- 📝 SMS template status management and review
- ✉️ SMS signature status management and review
- 🔍 Phone number information query service
- 📈 Real-time SMS delivery status synchronization
- 🖼️ Image upload and processing for signatures/templates
- 📋 Comprehensive SMS message and recipient management
- 🔄 Automated status sync commands
- 📈 Advanced statistics and reporting

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1
- Symfony &gt;= 7.3
- Doctrine ORM &gt;= 3.0
- Tencent Cloud SMS SDK

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

[](#installation)

```
composer require tourze/tencent-cloud-sms-bundle
```

Configuration
-------------

[](#configuration)

### 1. Register the Bundle

[](#1-register-the-bundle)

Add the bundle to your `config/bundles.php`:

```
