截流自动化的商城平台
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Your Name fe0a99e39f first commit il y a 1 mois
..
src first commit il y a 1 mois
tests first commit il y a 1 mois
.gitignore first commit il y a 1 mois
.php_cs first commit il y a 1 mois
.travis.yml first commit il y a 1 mois
LICENSE first commit il y a 1 mois
README.md first commit il y a 1 mois
composer.json first commit il y a 1 mois
phpunit.xml first commit il y a 1 mois

README.md

EasyWeChat Composer Plugin

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads License

Usage

Set the type to be easywechat-extension in your package composer.json file:

{
    "name": "your/package",
    "type": "easywechat-extension"
}

Specify server observer classes in the extra section:

{
    "name": "your/package",
    "type": "easywechat-extension",
    "extra": {
        "observers": [
            "Acme\\Observers\\Handler"
        ]
    }
}

Examples

Server Delegation

目前仅支持 Laravel

  1. config/app.php 中添加 EasyWeChatComposer\Laravel\ServiceProvider::class

  2. 本地项目.env 文件中添加如下配置:

EASYWECHAT_DELEGATION=true # false 则不启用
EASYWECHAT_DELEGATION_HOST=https://example.com # 线上域名