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

gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444