<?php

use PDFfiller\OAuth2\Client\Provider\FillRequest;
$provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php');
$e = FillRequest::one($provider, 53690143)->forms();
dd($e);
<?php

use PDFfiller\OAuth2\Client\Provider\FillRequest;
$provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php');
$e = FillRequest::one($provider, 53690143);
dd($e);
<?php

use PDFfiller\OAuth2\Client\Provider\FillRequest;
$provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php');
$e = FillRequest::one($provider, 53690143)->form(1)->export();
dd($e);
<?php

use PDFfiller\OAuth2\Client\Provider\FillRequest;
$provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php');
$e = FillRequest::one($provider, 53690143)->form(1)->remove();
dd($e);
<?php

use PDFfiller\OAuth2\Client\Provider\FillRequest;
$provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php');
$e = FillRequest::one($provider, 53690143)->form(1)->download();
dd($e);
<?php

use PDFfiller\OAuth2\Client\Provider\FillRequest;
$provider = (require_once __DIR__ . '/../bootstrap/initWithFabric.php');
$params = ["document_id" => 53690143, "access" => "full", "status" => "public", "email_required" => true, "name_required" => true, "custom_message" => "Custom string to show for a user", "notification_emails" => [["name" => "Test User", "email" => "*****@*****.**"]]];
$fillRequestEntity = FillRequest::one($provider, 53690143);
$fillRequestEntity->custom_message = "New custom message";
$e = $fillRequestEntity->save(false);
dd($e);