Download the PHP package gdbnet/fattura-elettronica-php without Composer
On this page you can find all versions of the php package gdbnet/fattura-elettronica-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package fattura-elettronica-php
fattura-elettronica-php
A PHP package to read and write the xml of italian electronic invoice.
composer require gdbnet/fattura-elettronica-php
Usage
Write the xml:
$fattura = new FatturaElettronica($header, $body);
$writer = new FatturaElettronicaXmlWriter($fattura);
$xml = $writer->encodeXml();
Read the xml:
$xml = '<?xml...';
$reader = new FatturaElettronicaXmlReader();
$fattura = $reader->decodeXml($xml);
Validate the xml using the xsd:
$xml = '<?xml...';
$validator = new XmlValidator();
if ($validator->validate($xml)) {
echo 'valid xml';
} else {
var_dump($validator->getErrors());
}
Credits
Forked from manrix/fattura-elettronica-php
All versions of fattura-elettronica-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
ext-dom Version *
ext-json Version *
ext-libxml Version *
ext-xsl Version *
dompdf/dompdf Version ~0.8.0
symfony/serializer Version ^2.8.50
ext-dom Version *
ext-json Version *
ext-libxml Version *
ext-xsl Version *
dompdf/dompdf Version ~0.8.0
symfony/serializer Version ^2.8.50
The package gdbnet/fattura-elettronica-php contains the following files
Loading the files please wait ....