PHPackages                             tourze/wechat-mini-program-qrcode-link-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tourze/wechat-mini-program-qrcode-link-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

tourze/wechat-mini-program-qrcode-link-bundle
=============================================

小程序 Short Link

0.1.1(6mo ago)0171MITPHPCI passing

Since Nov 7Pushed 4mo ago1 watchersCompare

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

READMEChangelog (3)Dependencies (32)Versions (4)Used By (1)

WeChat Mini Program QRCode Link Bundle
======================================

[](#wechat-mini-program-qrcode-link-bundle)

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

[![PHP Version](https://camo.githubusercontent.com/f07c6f77157ec03f766a7a3210ebdc53f03e2c44996056dfd576969277c09c0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f7765636861742d6d696e692d70726f6772616d2d7172636f64652d6c696e6b2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-mini-program-qrcode-link-bundle)[![Latest Version](https://camo.githubusercontent.com/2e558dbbc7a849eda8655a14d0c8930e7396d8db973555dbef962465ca4e5543/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f7765636861742d6d696e692d70726f6772616d2d7172636f64652d6c696e6b2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-mini-program-qrcode-link-bundle)[![License](https://camo.githubusercontent.com/98a23120bd87e78aca3157e6d6d22c37c58a670abcf5895dca9fe82129677e25/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f7765636861742d6d696e692d70726f6772616d2d7172636f64652d6c696e6b2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-mini-program-qrcode-link-bundle)[![Total Downloads](https://camo.githubusercontent.com/080b609f56e89cb251e93c6fc8d5ad98e93966a23de9c97ed521f1d2abe652da/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f7765636861742d6d696e692d70726f6772616d2d7172636f64652d6c696e6b2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-mini-program-qrcode-link-bundle)[![Build Status](https://camo.githubusercontent.com/4abd86be1d45a8e01564906c57a7882719fce0f0e541c7fe0661ac0512996a1b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f75727a652f7068702d6d6f6e6f7265706f2f63692e796d6c3f6272616e63683d6d6173746572266c6162656c3d4275696c64267374796c653d666c61742d737175617265)](https://github.com/tourze/php-monorepo/actions/workflows/ci.yml)[![Code Coverage](https://camo.githubusercontent.com/73ee3bab50824f778cedc6b4b3f78bcdab621eef812a979ec388b8ad692a4bff/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f746f75727a652f7068702d6d6f6e6f7265706f2e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/tourze/php-monorepo)

A powerful Symfony bundle for generating WeChat Mini Program QR codes and share links with advanced features including custom logos, colors, transparent backgrounds, and comprehensive JSON-RPC API integration.

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

[](#table-of-contents)

- [Features](#features)
- [Installation](#installation)
- [Dependencies](#dependencies)
- [Security](#security)
- [Quick Start](#quick-start)
    - [Basic Usage](#basic-usage)
    - [JSON-RPC API](#json-rpc-api)
    - [Console Command](#console-command)
- [Command Parameters](#command-parameters)
- [Configuration](#configuration)
    - [Environment Variables](#environment-variables)
    - [Services Configuration](#services-configuration)
- [Advanced Usage](#advanced-usage)
    - [Custom Logo Overlay](#custom-logo-overlay)
    - [Color Customization](#color-customization)
    - [Transparent Background](#transparent-background)
    - [Batch Processing](#batch-processing)
- [API Reference](#api-reference)
    - [CodeUnLimitRequest](#codeunlimitrequest)
    - [GetUserShareCode](#getusersharecode)
- [Contributing](#contributing)
- [License](#license)

Features
--------

[](#features)

- 🔗 Generate unlimited WeChat Mini Program QR codes
- 🎨 Custom colors and transparent backgrounds
- 🖼️ Logo overlay support (including user avatars)
- 🚀 JSON-RPC API integration
- 💾 Share code management with database persistence
- 🔒 User authentication and security
- 🛠️ Console command for batch generation
- 📊 Multiple environment support (release, trial, develop)

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

[](#installation)

```
composer require tourze/wechat-mini-program-qrcode-link-bundle
```

Dependencies
------------

[](#dependencies)

This bundle requires:

- PHP 8.1 or higher
- Symfony 6.4 or higher
- WeChat Mini Program Bundle
- Doctrine ORM
- Flysystem
- Intervention Image v3

Security
--------

[](#security)

This bundle implements several security measures:

- User authentication required for JSON-RPC procedures
- Input validation for all parameters
- Safe image processing with size limits
- URL validation for logo sources

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

[](#quick-start)

### Basic Usage

[](#basic-usage)

```
