截流自动化的商城平台
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Your Name fe0a99e39f first commit 2ヶ月前
..
src first commit 2ヶ月前
tests first commit 2ヶ月前
.gitignore first commit 2ヶ月前
.php_cs first commit 2ヶ月前
.travis.yml first commit 2ヶ月前
LICENSE first commit 2ヶ月前
README.md first commit 2ヶ月前
composer.json first commit 2ヶ月前
phpunit.xml first commit 2ヶ月前

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 # 线上域名