xnxktech/laravel-esign
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).
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
637,827,751
9,703
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
413,412,504
609
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
394,964,158
4,660
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.8.5 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.8.4 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.8.3 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.8.2 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.8.1 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.8.0 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.7.0 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.6.3 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.6.2 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.6.1 | ^8.0 | ^9.0 | Apache-2.0 | |
| v1.6.0 | ^8.0 | ^9.0 | Apache-2.0 | |
| v1.5.1 | ^8.0 | ^9.0 | Apache-2.0 | |
| v1.5.0 | ^8.0 | ^9.0 | Apache-2.0 | |
| 1.0.6 | >=7.2 | MIT | ||
| 1.0.5 | >=7.2 | MIT | ||
| 1.0.4 | >=7.2 | MIT | ||
| 1.0.3 | >=7.2 | MIT | ||
| 1.0.2 | >=7.2 | MIT | ||
| 1.0.1 | >=7.2 | MIT | ||
| 1.0.0 | >=7.2 | MIT |