xnxktech / laravel-evidence
Provide eSign evidence API for Laravel
Installs: 5 425
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 12
Requires
- php: ^8.0
- ext-json: *
- ext-openssl: *
- guzzlehttp/guzzle: ^7.0
- laravel/framework: ^8.0 || ^9.0
- monolog/monolog: ^2.0
- pimple/pimple: ^3.0
- symfony/http-foundation: ^5.4 || ^6.0
- symfony/psr-http-message-bridge: ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- illuminate/support: ^9.3
- mockery/mockery: ^1.0
- nunomaduro/phpinsights: ^2.2
- orchestra/testbench: ^7.1
- pestphp/pest: ^1.21
- pestphp/pest-plugin-parallel: ^1.0
- phpunit/phpunit: ^9.0
- dev-main
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-renovate/orchestra-testbench-8.x
- dev-renovate/phpunit-phpunit-9.x
- dev-renovate/pestphp-pest-1.x
- dev-renovate/orchestra-testbench-7.x
- dev-renovate/nunomaduro-phpinsights-2.x
- dev-renovate/friendsofphp-php-cs-fixer-3.x
- dev-renovate/major-illuminate
- dev-renovate/pestphp-pest-plugin-parallel-1.x
- dev-dependabot/github_actions/nick-invision/retry-2.8.3
- dev-renovate/nick-invision-retry-2.x
- dev-renovate/monolog-monolog-3.x
This package is auto-updated.
Last update: 2024-12-03 18:21:18 UTC
README
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).