Download the PHP package tourze/wechat-work-server-bundle without Composer
On this page you can find all versions of the php package tourze/wechat-work-server-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tourze/wechat-work-server-bundle
More information about tourze/wechat-work-server-bundle
Files in tourze/wechat-work-server-bundle
Package wechat-work-server-bundle
Short Description 企业微信服务端消息处理包,用于接收和处理企业微信回调消息
License MIT
Informations about the package wechat-work-server-bundle
WechatWork Server Bundle
中文
A Symfony bundle for handling WeChat Work (企业微信) server-side messages and callback events.
Table of Contents
- Features
- Installation
- Configuration
- Bundle Registration
- Route Configuration
- Database Migration
- Quick Start
- Handling Server Messages
- Usage
- Message Entity
- Console Commands
- Advanced Usage
- Custom Message Processing
- Message Filtering
- Dependencies
- Contributing
- Development Setup
- License
Features
- 🚀 Server Message Processing: Handle WeChat Work callback messages
- 🔒 Message Encryption/Decryption: Support for encrypted message processing
- 📊 Message Storage: Store and query server messages with Doctrine ORM
- 🎯 Event System: Dispatch events for message processing
- 📝 Console Commands: Import and manage server messages
- 🔄 Callback Controllers: Handle direct and server callbacks
Installation
Configuration
Bundle Registration
Enable the bundle in your Symfony application:
Route Configuration
Configure the routes for server callbacks:
Database Migration
Run the following command to create the necessary database tables:
Quick Start
Handling Server Messages
Usage
Message Entity
The ServerMessage entity stores WeChat Work server messages:
Console Commands
The bundle provides console commands for managing server messages:
Command Details:
- wechat-work:import-server-message - Import WeChat Work server messages from a log file
Advanced Usage
Custom Message Processing
Message Filtering
Dependencies
- PHP 8.1+
- Symfony 6.4+
- Doctrine ORM 3.0+
- tourze/wechat-work-bundle
- tourze/wechat-helper
- tourze/xml-helper
Contributing
We welcome contributions! Please follow these guidelines:
- Issues: Please use GitHub Issues to report bugs or request features
- Pull Requests:
- Fork the repository
- Create a feature branch
- Make your changes with proper tests
- Ensure PHPStan and PHPUnit tests pass
- Submit a pull request
Development Setup
License
This project is licensed under the MIT License - see the LICENSE file for details.
All versions of wechat-work-server-bundle with dependencies
ext-openssl Version *
doctrine/collections Version ^2.3
doctrine/data-fixtures Version ^2.0
doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^2.13
doctrine/doctrine-fixtures-bundle Version ^4.0
doctrine/orm Version ^3.0
doctrine/persistence Version ^4.1
psr/log Version ^3|^2|^1
symfony/config Version ^7.3
symfony/console Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/doctrine-bridge Version ^7.3
symfony/event-dispatcher Version ^7.3
symfony/event-dispatcher-contracts Version ^3
symfony/framework-bundle Version ^7.3
symfony/http-foundation Version ^7.3
symfony/http-kernel Version ^7.3
symfony/lock Version ^7.3
symfony/property-access Version ^7.3
symfony/routing Version ^7.3
symfony/yaml Version ^7.3
tourze/bundle-dependency Version 1.*
tourze/doctrine-snowflake-bundle Version 1.1.*
tourze/symfony-dependency-service-loader Version 1.0.*
tourze/symfony-routing-auto-loader-bundle Version 1.0.*
tourze/wechat-helper Version 0.0.*
tourze/wechat-work-bundle Version 1.1.*
tourze/wechat-work-contracts Version 1.0.*
tourze/xml-helper Version 0.0.*