承接 elilee/yii2-weixin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

elilee/yii2-weixin

Composer 安装命令:

composer require elilee/yii2-weixin

包简介

一个专注yii2de微信的sdk

README 文档

README

写在前边, 该扩展根据北哥yii2-wx课程,边学边写的,但不保证和北哥代码完全一致,如果想要深入学习可以到北哥网站(https://nai8.me/)学习相关课程。

之所以建立这个扩展主要是为了自用方便。

一个yii2de微信的sdk (自用)

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist elilee/yii2-wx "*"

or add

"elilee/yii2-wx": "*"

to the require section of your composer.json file.

Usage

Setting

在 params 中增加如下内容

'wx'=>[

        'app_id' => 'wxasdasf3slfmiem3mi2f',
        'secret' => '***************************',
        'token'  => 'elilee',

        'payment' => [
            'mch_id'        => '',//商户ID
            'key'           => '', //商户KEY
            'notify_url'    => '',//支付通知地址
            'cert_path'     => '',//证书
            'key_path'      => '',//证书
        ]
    ]

use

use elilee\wx\Application;

$config = Yii::$app->params['wx'];
$app = new Application(['conf'=>$config]);

$server=$app->driver('server');
$response = $server->server();

return $response;

function list

用户相关 支付相关 客服功能 红包相关

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-08-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固