PHP code example of com-company / yousign-bundle
1. Go to this page and download the library: Download com-company/yousign-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
com-company / yousign-bundle example snippets
interface EventHandlerInterface
{
public function handle(WebhookPayload $payload): void;
public function onError(YousignException $e): void;
}
sh
###> yousign ###
#dev URI = 'https://staging-api.yousign.com'
#prod URI = 'https://api.yousign.com'
YOUSIGN_V2_URI=''
YOUSIGN_V2_APP_URI=''
YOUSIGN_V2_TOKEN=''
YOUSIGN_V2_ACCESS_KEY='' #que si vous gérez les webhook yousign
###< yousign ###
###> yousign V3 ###
#dev URI = 'https://api-sandbox.yousign.app/v3/'
#prod URI = 'https://api.yousign.app/v3/'
YOUSIGN_V3_URI=''
YOUSIGN_V3_TOKEN=''
YOUSIGN_V3_ACCESS_KEY='' #que si vous gérez les webhook yousign
###< yousign V3###