Protect PDFs with 2-Factor Authentication Using the PDFfiller PHP Client

Protect your document by adding 2-factor authentication just like your bank account using the PDFfiller PHP Client.

Protect PDFs with 2-Factor Authentication

Protect your account, a folder or a PDF form by adding 2-factor authentication just like your bank account using the PDFfiller PHP Client. Securely access your documents with a confidential information anytime and on any device.

How to Use PDFfiller PHP Client

Create signature protector

Protect document with 2-Factor Authentication
PDFfiller\OAuth2\Client\Provider\Document::createConstructor()
View on GitHub


$s2s = new SignatureRequest($provider);
$s2s->document_id = 20809416;

$s2s->method = new SignatureRequestMethod(SignatureRequestMethod::SEND_TO_EACH);
$s2s->envelope_name = 'Title';
$s2s->pin = "1464";

$s2s->security_pin = new SignatureRequestSecurityPin(SignatureRequestSecurityPin::ENHANCED);
$s2s->recipients[] = new SignatureRequestRecipient($provider, [
    'email' => 'sergijlys@gmail.com',
    'name' => 'Test user',
    'access' => 'full',
    'require_photo' => false,
    'message_subject' => 'subject',
    'message_text' => 'message',
    "phone_authenticate" => "+380132137475",
    'additional_documents' => [
        'doc1'
    ]
]);

$result = $s2s->save();

Try protecting your document with a PIN using the PDFfiller PHP Client

Secure recipients' access to PDF documents with a 4 digit PIN using the PDFfiller PHP Client. Make your PDFs accessible only to the users you trust.

Try requiring filler's email and name using the PDFfiller PHP Client

Require the name and email of anyone filling out a document using the PDFfiller PHP Client

Try setting a unique document ID for each document using PDFfiller PHP Client

Secure the authenticity of the document with the help of a unique Document ID using the PDFfiller PHP Client. Provide a unique ID for each PDF that contains an important and confidential information.
Languages We Support
Try PDFfiller API for FREE!
Fill out this form to try all the benefits of using PDFfiller API. The free API key allows you to get a feel for the PDFfiller experience before buying a subscription plan. If you have any questions follow the link below to contact our 24/7 support team.
Apply for a free API key