PHPackages                             tourze/wechat-work-jssdk-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-work-jssdk-bundle

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

tourze/wechat-work-jssdk-bundle
===============================

企业微信JSSDK集成包，提供企业微信应用的JavaScript SDK功能

0.1.2(11mo ago)0224MITPHPPHP ^8.1CI passing

Since Apr 23Pushed 4mo ago1 watchersCompare

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

READMEChangelog (5)Dependencies (17)Versions (6)Used By (0)

Wechat Work JSSDK Bundle
========================

[](#wechat-work-jssdk-bundle)

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

[![Latest Version](https://camo.githubusercontent.com/c6f0ae0c081cb4c887fd8f1a083234f18cbb3849756ff83841595c561f9f8831/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f7765636861742d776f726b2d6a7373646b2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-work-jssdk-bundle)[![License](https://camo.githubusercontent.com/ad2491e6b25c4ac1772a95ac6ea523f9c15857e1edcb1cc0018e697c597f211d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f7765636861742d776f726b2d6a7373646b2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-work-jssdk-bundle)[![Build Status](https://camo.githubusercontent.com/3c75cbf80739d3f42836bab035102123295320544fd5b4157e0fec7fc34b2780/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f75727a652f7068702d6d6f6e6f7265706f2f63692e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/tourze/php-monorepo/actions)[![Quality Score](https://camo.githubusercontent.com/43930c8561a14d3f5a68c62b692ee20749bac4c043e09e88fd3fdd611660198f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f75727a652f7068702d6d6f6e6f7265706f2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tourze/php-monorepo)[![Code Coverage](https://camo.githubusercontent.com/fce86ff4532b4694c22512e5e192a270f73dd27d6e5495fffb59c73cf14de807/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f746f75727a652f7068702d6d6f6e6f7265706f2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tourze/php-monorepo)[![Total Downloads](https://camo.githubusercontent.com/f487b0eac24764ecd69aa2d7449736af3d458207229e131e0548fc218fd6d339/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f7765636861742d776f726b2d6a7373646b2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-work-jssdk-bundle)

A Symfony bundle that provides WeChat Work (Enterprise WeChat) JSSDK integration with configuration generation, signature verification, and semantic annotation support.

Features
--------

[](#features)

- **JSSDK Configuration Generation**: Generate WeChat Work JSSDK configuration with proper signature verification
- **JSON-RPC API**: Expose JSSDK configuration through JSON-RPC endpoints
- **Semantic Annotations**: Support for semantic tags like phone numbers, emails, red packets
- **Test Interface**: Built-in test controller for JSSDK functionality verification
- **Ticket Management**: Automatic handling of corp and agent JS API tickets
- **Symfony Integration**: Full integration with Symfony framework and dependency injection

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

[](#installation)

```
composer require tourze/wechat-work-jssdk-bundle
```

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

[](#quick-start)

### 1. Basic Configuration

[](#1-basic-configuration)

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

```
