Download the PHP package andregrunert-ctrl/zugferd-client without Composer

On this page you can find all versions of the php package andregrunert-ctrl/zugferd-client. 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 zugferd-client

zugferd-client (PHP)

Latest Version PHP Version Online Validator Standard Format License: MIT

Der offizielle, leichtgewichtige PHP-Client für die E-Rechnung API.

🔍 Kostenloser Online-Validator: Teste und validiere deine ZUGFeRD- & XRechnung-Dateien direkt im Browser ohne Registrierung: e-rechnung-cloud.de/validator

Erstelle, verarbeite und validiere rechtskonforme elektronische Rechnungen nach EN 16931 (ZUGFeRD 2.2 / Factur-X & XRechnung) in WordPress, WooCommerce, Shopware, Laravel oder nativen PHP-Applikationen.


📦 Installation

(Erfordert PHP >= 7.4 oder PHP 8.x und hat keine schweren externen Abhängigkeiten, da nativer cURL-Support genutzt wird).


⚡ Schnellstart

Dank des integrierten öffentlichen Test-Keys kannst du sofort ohne API-Key oder Registrierung starten:


🛠️ Methoden-Übersicht

1. generateInvoice(array $data, ?string $outputPath = null): string

Generiert ein vollständiges, druckfertiges deutsches PDF/A-3 mit eingebetteter factur-x.xml.

2. embedInvoice($pdfFile, $data, ?string $outputPath = null): string

Bettet das XML verlustfrei in ein bestehendes Kunden-PDF ein (z. B. aus Dompdf, TCPDF oder mPDF).

3. generateXRechnung(array $data, ?string $outputPath = null): string

Erstellt reines XML ohne PDF (Pflicht für deutsche Behörden / B2G, unterstützt buyer_reference / Leitweg-ID BT-10).

4. validate($file, ?string $filename = null): ValidationResult

Prüft jede PDF- oder XML-Rechnung auf Einhaltung der europäischen Norm EN 16931 und offizielle XSD-Schemata.


🔑 Eigener API-Key & Produktion

Für produktive Rechnungen ohne Test-Wasserzeichen übergibst du deinen persönlichen Key oder setzt die Umgebungsvariable ZUGFERD_API_KEY:


🌐 Nützliche Links


🇬🇧 English Overview & Features

zugferd-client is the official PHP SDK for the E-Rechnung API, built to ensure seamless European electronic invoicing compliance (EN 16931) for PHP applications, frameworks (Laravel, Symfony), and CMS/E-Commerce systems (WordPress, WooCommerce, Shopware, Magento):


📄 Lizenz

MIT License - Siehe LICENSE für Details.


⚖️ Markenhinweis & Disclaimer

ZUGFeRD ist eine eingetragene Marke der AWV e.V. (Arbeitsgemeinschaft für wirtschaftliche Verwaltung e.V.) / FeRD. Dieses Projekt (zugferd-client) ist ein unabhängiges Open-Source-Projekt und steht in keiner geschäftlichen oder offiziellen Verbindung zur AWV e.V. oder dem Forum elektronische Rechnung Deutschland. Die Nennung der Marke erfolgt ausschließlich zur beschreibenden Angabe der Formatkompatibilität im Sinne von § 23 Abs. 1 Nr. 3 MarkenG.


All versions of zugferd-client with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4 || >=8.0
ext-curl Version *
ext-json Version *
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 andregrunert-ctrl/zugferd-client contains the following files

Loading the files please wait ...