New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

xnxktech/laravel-esign

Provide eSign (electronic contract signing) API for Laravel
4,104
Install
composer require xnxktech/laravel-esign
Latest Version:v1.8.5
PHP:^8.0
Laravel:8 · 9
License:Apache-2.0
Last Updated:Aug 24, 2022
Links: GitHub  ·  Packagist
Maintainer: teakowa

Laravel-Esign

Tests PHP from Packagist Packagist Version GitHub release (latest by date) GitHub last commit (branch) GitHub Release Date LICENSE LICENSE 996.icu

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...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released PHP Laravel License
v1.8.5 ^8.0 ^8.0 || ^9.0 Apache-2.0
v1.8.4 ^8.0 ^8.0 || ^9.0 Apache-2.0
v1.8.3 ^8.0 ^8.0 || ^9.0 Apache-2.0
v1.8.2 ^8.0 ^8.0 || ^9.0 Apache-2.0
v1.8.1 ^8.0 ^8.0 || ^9.0 Apache-2.0