PHP code example of picios / dlocksdk
1. Go to this page and download the library: Download picios/dlocksdk 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/ */
picios / dlocksdk example snippets
php
use Picios\DlockSDK\DlockSDKConnection;
use Picios\DlockSDK\Request\DlockSDKAuth;
_123'
);
$auth = new DlockSDKAuth($connection);
$response = $auth->getQRcodeImage(
'session_id',
'https://example.com/webhook/123'
);
if ($response->isSuccess()) {
die($response->getContent());
}