wisdech / laravel-wework
Laravel 企业微信服务端接口实现
v1.1.0
2024-10-14 16:50 UTC
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.9
- illuminate/support: ^11.27
- symfony/cache: ^7.1
README
安装使用
#添加依赖
composer require wisdech/laravel-wework
Laravel项目中
#发布配置文件
php artisan vendor:publish --tag=wework-config
#在.env文件填写配置信息 WEWORK_CORP_ID= WEWORK_AGENT_ID= WEWORK_SECRET=
//使用Facade use Wisdech\Wework\Facade\Wework $loginUri=Wework::buildLoginUri(...);
在其他PHP项目中
$sdk=new Wisdech\Wework\WeworkSDK('CorpID','AgentID','Secret') $loginUri=$sdk->buildLoginUri(...);