1 - Validating signature
<?php
use Illuminate\Http\Request;
use App\Models\Certificate;
use LSNepomuceno\LaravelA1PdfSign\Sign\ValidatePdfSignature;
class ExampleController() {
public function dummyFunction(Request $request){
try {
dd(ValidatePdfSignature::from('path/to/pdf/file.pdf');
} catch (\Throwable $th) {
}
}
}
2 - The expected result will be as shown below.

3 - The expected result in Adobe Acrobat/Reader will be as shown below.

For Brazilian users
Is possible to validate the signature through the government's ITI service.
The expected result will be as shown below.
