
Italian e-invoices in PHP
fatturaelettronicaphp/FatturaElettronica
Reads, generates and validates Italian electronic invoices, in PHP.
Slamdunk/php-validatore-fattura-elettronica
php-validatore-fattura-elettronica is a PHP library that checks that an Italian electronic invoice XML file complies with the XML structure and the XSD schemas from the Agenzia delle Entrate.

Licence checked on 25/10/2026. Stars and last activity recorded on GitHub on the same date.
The library exposes a Validator class. Its assertValidXml method checks an electronic invoice XML: it throws one exception if the XML structure is wrong and another if the XML is valid but does not comply with the XSD. The getAllExceptions method instead returns the list of all errors found, empty if everything is correct.
It can also validate notification messages, using the XSD_MESSAGGI_LATEST constant. The XSDs come from the Agenzia delle Entrate website. The README warns that the package only works for Italian standards, and that email validation is deliberately more permissive: it is left to the user.
For PHP developers who produce or receive Italian electronic invoices in XML and want to check them before sending or processing.
Install with Composer, then instantiate the Validator class and call assertValidXml or getAllExceptions with the XML content.
Read the project README before running these commands.
composer require slam/php-validatore-fattura-elettronicaNo SKILL.md, AGENTS.md, CLAUDE.md, Cursor rules or MCP server found at the root or in the README. This is a PHP library to call from code.
No account needed: one like per browser, which you can remove. Comments are published after review.
This project is hosted by its author: your comments are about this page, not the code. To report an issue with the project, use its repository.
Loading likes and comments…

fatturaelettronicaphp/FatturaElettronica
Reads, generates and validates Italian electronic invoices, in PHP.


design-system-builder
One interactive multilingual page plus the design.md file your coding agents read.
We also write private skills, in your name. Let's talk about it on a 30-minute call.
Prometheus AI assistant
Loading…
Enter sends, Shift+Enter adds a line.
Prometheus is an AI and can make mistakes. Conversation recorded. Privacy policy
The private space where you follow your whole project with SOGNI DIGITALI.
Sign in at login.sognidigitali.com: your email, then a 6-digit code.
Log in to AtriumThe details stay in your private space.
Open my Atrium space