Download the PHP package tourze/wechat-work-msg-audit-bundle without Composer
On this page you can find all versions of the php package tourze/wechat-work-msg-audit-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package wechat-work-msg-audit-bundle
WeChat Work Message Audit Bundle
中文
A Symfony bundle for WeChat Work (企业微信) conversation content archiving functionality.
Features
- Automatic synchronization of archived messages from WeChat Work
- Support for various message types (text, image, voice, video, etc.)
- Media file download and storage
- Message querying and management
- Integration with WeChat Work Finance SDK
- Cron job support for automatic message synchronization
Installation
Configuration
This bundle requires the following configuration:
- WeChat Work Corp Configuration: Set up your corporation and agent with the message archive application (Special Agent ID: 1000022)
- Private Key: Configure the private key for message decryption in your agent settings
- Storage: Configure filesystem storage for media files
Usage
Console Commands
Sync Archive Messages
Synchronize archived messages from WeChat Work:
This command:
- Fetches new messages from WeChat Work archive API
- Downloads media files (images, voice, video) automatically
- Stores messages in the database
- Can be configured to run as a cron job (runs every minute by default)
Test Commands
For testing purposes, the bundle includes test commands:
This command is used internally for testing CommandTester integration.
API Requests
Get Permit User List
Retrieve the list of users who have enabled message archiving:
Entities
ArchiveMessage
The main entity for storing archived messages:
Message Actions
The bundle supports three types of message actions:
send- Regular message sendingrecall- Message recallswitch- Enterprise switching log
Advanced Usage
Custom Message Processing
You can extend the message processing functionality by implementing custom handlers:
Message Filtering
Filter messages based on specific criteria:
Requirements
- PHP 8.1 or higher
- Symfony 6.4 or higher
- Doctrine ORM 3.0 or higher
- WeChat Work Finance SDK
Contributing
Please see CONTRIBUTING.md for details.
License
The MIT License (MIT). Please see License File for more information.
Reference
All versions of wechat-work-msg-audit-bundle with dependencies
doctrine/collections Version ^2.3
doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^3.0
doctrine/persistence Version ^3.1 || ^4
league/flysystem Version ^3.10
mochat/wework-finance-sdk Version ^1.1
nesbot/carbon Version ^2.72 || ^3
symfony/config Version ^6.4
symfony/console Version ^6.4
symfony/dependency-injection Version ^6.4
symfony/doctrine-bridge Version ^6.4
symfony/framework-bundle Version ^6.4
symfony/http-kernel Version ^6.4
symfony/var-exporter Version ^6.4
symfony/yaml Version ^6.4 || ^7.1
tourze/doctrine-snowflake-bundle Version 0.1.*
tourze/easy-admin-attribute Version 0.1.*
tourze/enum-extra Version 0.1.*
tourze/http-client-bundle Version 0.1.*
tourze/symfony-cron-job-bundle Version 0.1.*
tourze/wechat-work-bundle Version 0.1.*
tourze/wechat-work-contracts Version 0.0.*