xnxktech/laravel-esign
Composer 安装命令:
composer require xnxktech/laravel-esign
包简介
Provide eSign (electronic contract signing) API for Laravel
README 文档
README
Installation
$ composer require xnxktech/laravel-esign
Configuration
generate config file
$ php artisan vendor:publish --provider="XNXK\LaravelEsign\ServiceProvider"
Usage
The package will auto use environment variables, Put them in your .env as the following, obviously and respectively.
ESIGN_APPID= ESIGN_SECRET= ESIGN_SERVER= ESIGN_NOTIFY_URL=
Lastly, you can using Esign class in controller use namespace top of that file
use XNXK\LaravelEsign\Esign; $data = (new Esign)->account()->queryPersonalAccountByThirdId();
or if you want a simple, you can use esign function:
esign()->account()->queryPersonalAccountByThirdId();
Organization
esign()->account()->createOrganizeAccount($orgThirdPartyUserId, 'b5b9c524fa254c0fbf2150c98b87ac11', $name);
License
The code in this repository, unless otherwise noted, is under the terms of both the Anti 996 License and the Apache License (Version 2.0).
统计信息
- 总下载量: 4.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2022-03-15