lianhua/phacturx

This package is abandoned and no longer maintained. No replacement package was suggested.

A simple PHP library to create Factur-X files

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Language:PostScript

1.0.1 2021-03-18 09:50 UTC

This package is auto-updated.

Last update: 2023-05-18 15:33:49 UTC


README

Overview

A simple PHP library for Factur-X file creation

Compatibility

This library has been tested for PHP 7.3 and higher

Installation

Just use composer in your project:

composer require lianhua/phacturx

If you don't use composer, clone or download this repository, all you need is inside the src directory.

Usage

Create a FacturX object with the PDF and XML files paths and call the createFacturX function with output PDF file path

$fx = new \Lianhua\PhacturX\FacturX("in.pdf", "in.xml");
$fx->createFacturX("out.pdf");