Releases: Saleh7/php-zatca-xml
Releases · Saleh7/php-zatca-xml
v2.1
🚀 Version 2.1 - Improvements & Fixes
This update brings important fixes and improvements to enhance the accuracy of invoice signing and QR generation.
🔹 What's New?
- ✅ Enhanced QR Code Output – Added the signature node to the QR node in
InvoiceSigner
. - 🔧 Certificate Hash Fix – Fixed raw binary encoding issue in
Certificate
class for more accurate hash calculation. - 🛠 Improved XML Signature Handling – Fixed digest calculation and improved XML formatting in
InvoiceSignatureBuilder
. - 🔄 Method Naming Fix – Renamed
getCertificateSignature
togetCertSignature
inInvoiceExtension
for better consistency. - 📄 Updated Documentation – Improved
README.md
with clearer instructions.
This update ensures more accurate invoice signing and better QR code generation. 🚀
💡 Found an issue or have a suggestion? Feel free to contribute!
v2.0
🚀 Version 2.0 - Major Update
🔹 What's New?
-
Enhanced Invoice Generation 🧾
- Improved
GeneratorInvoice
initialization. - Added
saveXMLFile()
method for invoice storage.
- Improved
-
ZATCA Compliance Improvements ✅
- Added examples for generating & signing invoices using ZATCA certificates.
- Fixed XML structure for better compliance with ZATCA standards.
-
New Features & Enhancements 🔧
- Added
QRCodeGenerator
class with comprehensive unit tests. - Introduced
InvoiceSignatureBuilder
for digital signatures. - Improved
InvoiceExtension
with better parsing capabilities.
- Added
-
New Features: Certificate Generation with
CertificateBuilder
🏆- Created an example to demonstrate certificate generation.
- Utilized
CertificateBuilder
to generate a CSR and private key. - Configured organization details, serial number, and invoice type.
- Handles errors with
CertificateBuilderException
for better debugging.
-
Code Improvements & Fixes 🛠️
- Updated PHP version requirement to
>=8.1
. - Optimized project dependencies & improved unit tests.
- Updated PHP version requirement to
💡 New Contributors
Thanks to @sevaske for contributing! 🎉
🔗 Pull Request #6
🚀 Upgrade now for improved invoice generation, better compliance, and new certificate handling features! 🎉