xnxktech/laravel-evidence
Installation
$ composer require xnxktech/laravel-evidence
Configuration
generate config file
$ php artisan vendor:publish --provider="XNXK\LaravelEvidence\ServiceProvider"
Document
https://open.esign.cn/doc/detail?id=opendoc%2Fevidence%2Fmourn5&namespace=opendoc%2Fevidence
Usage
The package will auto use environment variables, Put them in your .env as the following, obviously and respectively.
EVIDENCE_APPID=
EVIDENCE_SECRET=
EVIDENCE_SERVER=
ESIGN_SERVER=
Lastly, you can using Evidence class in controller use namespace top of that file
use XNXK\LaravelEvidence\Evidence;
$data = (new Evidence)->temp()->createBusiness();
or if you want a simple, you can use evidence function:
evidence()->temp()->createBusiness();
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
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.2.3 | ^8.0 | ^8.0 || | Apache-2.0 | |
| v1.2.2 | ^8.0 | ^8.0 || | Apache-2.0 | |
| v1.2.1 | ^8.0 | ^8.0 || | Apache-2.0 | |
| v1.2.0 | ^8.0 | ^8.0 || | Apache-2.0 | |
| v1.1.6 | ^8.0 | ^8.0 || | Apache-2.0 | |
| v1.1.5 | ^8.0 | ^8.0 || | Apache-2.0 | |
| v1.1.4 | ^8.0 | ^8.0 || | Apache-2.0 | |
| v1.1.3 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.1.2 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.1.1 | ^8.0 | ^8.0 | | Apache-2.0 | |
| v1.1.0 | ^8.0 | ^9.0 | Apache-2.0 | |
| v1.0.4 | ^8.0 | ^9.0 | Apache-2.0 | |
| v1.0.3 | ^8.0 | ^9.0 | Apache-2.0 | |
| v1.0.2 | ^8.0 | ^9.0 | Apache-2.0 | |
| v1.0.1 | ^8.0 | ^9.0 | Apache-2.0 | |
| v1.0.0 | ^8.0 | ^9.0 | Apache-2.0 |