mtm4web / zatca-phase2-tlv-qr
Zero-dependency PHP 8.2+ & Laravel helper for ZATCA Phase 2 TLV Base64 QR code generation (Saudi e-Invoicing).
v1.0.0
2026-11-22 09:50 UTC
Requires
- php: >=8.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-11-22 19:51:26 UTC
README
Zero-dependency PHP 8.2+ library to generate ZATCA (Fatoora) Phase 1 & Phase 2 compliant TLV Base64 QR payloads for Saudi e-Invoicing.
Installation
composer require mtm4web/zatca-phase2-tlv-qr
Quick Usage
use MTM4WEB\ZatcaQr\ZatcaQr; $base64Qr = ZatcaQr::encode( sellerName: 'Sanad Arkan Contracting', vatNumber: '310122393500003', timestampIso8601: '2026-11-22T10:30:00Z', invoiceTotal: '11500.00', vatTotal: '1500.00' );
Online Tools & Integration Guides by MTM4WEB
- Online ZATCA QR Verifier & Generator: https://www.mtm4web.com/en/tools
- Full Saudi ZATCA Phase 2 Architecture Guide: ZATCA Phase 2 Integration Guide
- Custom Laravel & ERP Systems: https://www.mtm4web.com/en/laravel