Skip to content

uutan/work-wechat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WorkWeChat

📦 企业微信开发接口SDK.

Requirement

  1. PHP >= 7.2
  2. Composer
  3. openssl 拓展
  4. fileinfo 拓展(素材管理模块需要用到)

Installation

$ composer require "uutan/work-wechat" @dev

Usage

基本使用(以企业内部开发为例):

<?php

use WorkWechat\Factory;

$options = [
    'corp_id'    => 'wx3cf0f39249eb0exxx',
    'agent_id'    => '49000091',
    'secret'    => 'xxx',
];

$app = Factory::work($options);

$server = $app->server;
$user = $app->user;

$server->serve()->send();

License

MIT

About

企业微信接口开发

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages