Download the PHP package mahdiabderraouf/facturx-php without Composer

On this page you can find all versions of the php package mahdiabderraouf/facturx-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package facturx-php

Factur-X PHP

A PHP library for managing Factur-x/ZUGFeRD compliant PDF invoices.

Table of Contents


Features


Requirements


Installation

Using composer


Documentation

The full documentation can be found here.


Usage

Here are some quick examples of usage. For advanced usage please refer to the documentation

Generate minimum profile XML

Validate XML against XSD

Validate Factur-X XML against XSD. The XML source can be either a PDF file path, an XML file path or an XML string.

Generate a Factur-X PDF

Using the static method Generator::generate you can embed an XML into a PDF file to generate a Factur-X file.

To ensure the integrity of every Factur-X file, the XML is validated before being embedded, so there is no need to validate it beforehand.

Please note about attachment relationship:

If you are generating invoices in Germany, the profiles minimum and basicwl are not considered legally as an invoice since they don't contain enough information. Same rule will be applied in France in the future so you should be using at least the basic profile.

Parse Factur-X PDF

Parse a Factur-X PDF file, the parser will look by default for files factur-x.xml and zugferd-invoice.xml.

Please note that the filename zugferd-invoice.xml is not used since the version 2.3 of ZUGFeRD. You can specify the files you want to search for


Bug reports

Create an issue using the bug report template.


Contributions

Contributions are welcome, here are some guidelines:


Roadmap


All versions of facturx-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
setasign/fpdf Version 1.8.*
setasign/fpdi Version ^2.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mahdiabderraouf/facturx-php contains the following files

Loading the files please wait ....