PHPackages                             tourze/wechat-official-account-mass-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. [API Development](/categories/api)
4. /
5. tourze/wechat-official-account-mass-bundle

ActiveSymfony-bundle[API Development](/categories/api)

tourze/wechat-official-account-mass-bundle
==========================================

微信公众号群发消息功能包，提供文本、语音等消息类型的群发能力

0.0.1(7mo ago)00MITPHPCI failing

Since Nov 11Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/tourze/wechat-official-account-mass-bundle)[ Packagist](https://packagist.org/packages/tourze/wechat-official-account-mass-bundle)[ RSS](/packages/tourze-wechat-official-account-mass-bundle/feed)WikiDiscussions master Synced today

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

WeChat Official Account Mass Bundle
===================================

[](#wechat-official-account-mass-bundle)

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

[![Latest Version](https://camo.githubusercontent.com/f7497f96c63e75de2e0a2ecdea0bb56f3d520f2eb3d072a7b551697fc2b5369a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f7765636861742d6f6666696369616c2d6163636f756e742d6d6173732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-official-account-mass-bundle)[![Total Downloads](https://camo.githubusercontent.com/298daecb10bac2cc4c689185658d8100dcc1704b36e3c52d87a4675e0ff536f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f7765636861742d6f6666696369616c2d6163636f756e742d6d6173732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-official-account-mass-bundle)[![License](https://camo.githubusercontent.com/aba41935d44a3467228a7f89465bd357795347272d89415857a579176c4af920/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f7765636861742d6f6666696369616c2d6163636f756e742d6d6173732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-official-account-mass-bundle)[![PHP Version](https://camo.githubusercontent.com/9b28e8a155084c96447d5a83c0e7c6a416e9444319eee2cfdd0fdc5b5beb0b6b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f7765636861742d6f6666696369616c2d6163636f756e742d6d6173732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-official-account-mass-bundle)

[![Build Status](https://camo.githubusercontent.com/0346e18af1343d739d0405776c07b83798d5bb0200e3efcfdf657e5e662f6403/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f75727a652f7068702d6d6f6e6f7265706f2f63692e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/tourze/php-monorepo/actions)[![Code Coverage](https://camo.githubusercontent.com/6ce0146325478eb7cebae4cc6139b2af2c161735dd0e3c6ff6802f2c5a708179/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f746f75727a652f7068702d6d6f6e6f7265706f3f7374796c653d666c61742d737175617265)](https://codecov.io/gh/tourze/php-monorepo)

A Symfony bundle for WeChat Official Account mass messaging functionality, supporting scheduled broadcasts to all users, specific user groups by tag, or individual users by OpenID.

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

[](#table-of-contents)

- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Configuration](#configuration)
- [API Reference](#api-reference)
- [Advanced Usage](#advanced-usage)
- [Security](#security)
- [Troubleshooting](#troubleshooting)
- [Contributing](#contributing)
- [License](#license)
- [References](#references)

Features
--------

[](#features)

- **Flexible Targeting**: Send messages to all users, specific user groups by tag, or individual users by OpenID
- **Multiple Message Types**: Support for text and voice messages
- **Scheduled Broadcasting**: Schedule messages to be sent at specific times
- **Automatic Sending**: Built-in cron task for automatic message dispatch
- **Database-backed Task Management**: Persistent storage of tasks with status tracking
- **WeChat API Integration**: Full integration with WeChat Official Account API
- **Response Tracking**: Stores WeChat API response data (msg\_id, msg\_data\_id)
- **Multi-account Support**: Handle multiple WeChat Official Accounts

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

[](#installation)

```
composer require tourze/wechat-official-account-mass-bundle
```

Quick Start
-----------

[](#quick-start)

### 1. Enable the Bundle

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

Register the bundle in your `config/bundles.php`:

```
