PHPackages                             tourze/wechat-mini-program-subscribe-message-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-mini-program-subscribe-message-bundle

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

tourze/wechat-mini-program-subscribe-message-bundle
===================================================

微信小程序订阅消息功能Bundle

0.2.1(5mo ago)02MITPHPCI failing

Since May 24Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/tourze/wechat-mini-program-subscribe-message-bundle)[ Packagist](https://packagist.org/packages/tourze/wechat-mini-program-subscribe-message-bundle)[ RSS](/packages/tourze-wechat-mini-program-subscribe-message-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (59)Versions (5)Used By (0)

WeChat Mini Program Subscribe Message Bundle
============================================

[](#wechat-mini-program-subscribe-message-bundle)

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

[![Latest Version](https://camo.githubusercontent.com/995325585422b836fcc38a9b1bd7b803413a95093ecfa6fbb647330973e6fb19/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f7765636861742d6d696e692d70726f6772616d2d7375627363726962652d6d6573736167652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-mini-program-subscribe-message-bundle)[![PHP Version Require](https://camo.githubusercontent.com/ef3608a455e04b0da4940a2caf336ad394f13c18cba276750d3e4954ded7f3eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f7765636861742d6d696e692d70726f6772616d2d7375627363726962652d6d6573736167652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-mini-program-subscribe-message-bundle)[![License](https://camo.githubusercontent.com/6fddc83b55f41036a9fafffb3122d51b0538518b5a119f718b56bc7248375b06/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f7765636861742d6d696e692d70726f6772616d2d7375627363726962652d6d6573736167652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-mini-program-subscribe-message-bundle)[![Total Downloads](https://camo.githubusercontent.com/66c8f54198352140fe687a4728b703c2373230d952fa507dbd9ffddc91b5305c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f7765636861742d6d696e692d70726f6772616d2d7375627363726962652d6d6573736167652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-mini-program-subscribe-message-bundle)[![Build Status](https://camo.githubusercontent.com/3c75cbf80739d3f42836bab035102123295320544fd5b4157e0fec7fc34b2780/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f75727a652f7068702d6d6f6e6f7265706f2f63692e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/tourze/php-monorepo/actions)[![Coverage Status](https://camo.githubusercontent.com/73ee3bab50824f778cedc6b4b3f78bcdab621eef812a979ec388b8ad692a4bff/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f746f75727a652f7068702d6d6f6e6f7265706f2e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/tourze/php-monorepo)

A Symfony bundle for managing WeChat Mini Program subscribe messages. This bundle provides comprehensive functionality for handling subscribe message categories, templates, and message sending with an intuitive admin interface.

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

[](#table-of-contents)

- [Features](#features)
- [Installation](#installation)
- [Configuration](#configuration)
- [Quick Start](#quick-start)
- [Advanced Usage](#advanced-usage)
    - [Expression Language Functions](#expression-language-functions)
    - [Working with Templates](#working-with-templates)
    - [Event Handling](#event-handling)
- [Commands](#commands)
    - [wechat:mini-program:sync-subscribe-categories](#wechatmini-programsync-subscribe-categories)
    - [wechat-mini-program:sync-subscribe-template](#wechat-mini-programsync-subscribe-template)
- [Admin Interface](#admin-interface)
- [Security](#security)
- [Contributing](#contributing)
- [Dependencies](#dependencies)
- [License](#license)

Features
--------

[](#features)

- **Subscribe Categories Management**: Automatically sync and manage subscribe message categories from WeChat API
- **Template Management**: Sync and manage subscribe message templates with parameters
- **Message Sending**: Send subscribe messages to users with expression language support
- **Admin Interface**: Complete EasyAdmin CRUD controllers for data management
- **Cron Job Integration**: Automatic synchronization with configurable schedules
- **Event System**: Event-driven architecture for message handling and logging
- **Expression Language**: Dynamic message content with expression language support

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

[](#installation)

Install the bundle via Composer:

```
composer require tourze/wechat-mini-program-subscribe-message-bundle
```

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

```
