lianhua / phacturx
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
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.5
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");