1. Go to this page and download the library: Download marciodojr/autentique 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/ */
marciodojr / autentique example snippets
use Mdojr\Autentique\Autentique;
use Mdojr\Autentique\Endpoint;
use GuzzleHttp\Client;
$client = new Client([
'base_uri' => Endpoint::PRODUCTION,
'headers' => [
'X-Autntiq-Api' => $productionToken
]
]);
$autentique = new Autentique($client);
// Manipulação de conta
$acc = $autentique->account();
// Manipulação de Documentos
$doc = $autentique->document();
// Manipulação de Assinaturas
$sign = $autentique->signature();
// Manipulação de Pastas
$folder = $autentique->folder();