PHP code example of baldwin94 / pdf-signature-extractor
1. Go to this page and download the library: Download baldwin94/pdf-signature-extractor 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/ */
baldwin94 / pdf-signature-extractor example snippets
use Baldwin94\PdfSignatureExtractor\PdfSignatureExtractor;
$pdfPath = '/ruta/al/documento.pdf';
if (PdfSignatureExtractor::hasSignatures($pdfPath)) {
echo "El PDF tiene firmas digitales";
} else {
echo "El PDF no tiene firmas digitales";
}