Repository navigation
0.6.0
Breaking Changes
- Static factory methods for Certificate & Fiscal — The public constructors have been replaced with explicit static factories. Update your code:
new Fiscal($path, $pass, $test)→Fiscal::fromFile($path, $pass, $test)new Certificate($path, $pass)→Certificate::fromFile($path, $pass)orCertificate::fromContent($content, $pass)- New
Fiscal::fromContent()andFiscal::fromCertificate()factories for raw PKCS12 content and pre-built Certificate instances
Added
- Response signature verification — Verify XML-DSIG signatures on fiscal service responses (spec 4.3.1) via
SignatureVerifier Fiscal::fromContent()— instantiate from raw PKCS12 binary contentFiscal::fromCertificate()— instantiate from a pre-builtCertificateinstance
Improved
- Typed properties and return types on
CertificateandFiscal(PHP 8.0+) - Eliminates the ambiguous path-or-content detection via
@file_exists()— no more PHP deprecation whennullis passed
Full Changelog: 0.5.0...0.6.0