Download the PHP package kenod/invoice-generator without Composer

On this page you can find all versions of the php package kenod/invoice-generator. 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 invoice-generator

Invoice Generator

Professional PHP library for generating PDF invoices, proforma invoices, credit notes, and other accounting documents with QR payment codes, IBAN validation, and multi-language support.

Migrating from v2.x? See the Migration Guide for step-by-step instructions.

Links

Features

Requirements

Installation

Quick Start

Complete API Reference

InvoiceGenerator Class

Main class for generating invoices.

Core Methods

Settings Class

Accessed via $invoice->getSettings(). All methods return $this for chaining.

Basic Settings

PDF Metadata

Financial Settings

VAT Settings

Display Options

Styling

Page Margins

Images and Branding

QR Payment Codes

Barcodes

Electronic Signature

Final Recipient

Additional Information

Utility Methods

Address Class

Used for supplier, customer, and final recipient. Accessed via $invoice->getSupplier(), $invoice->getCustomer(), $invoice->getEndRecipient().

Information Class

Invoice information. Accessed via $invoice->getInformation().

PaymentDetails Class

Payment details. Accessed via $invoice->getPaymentDetails().

Iban Class

Static utility class for IBAN operations.

Translator Class

Static utility class for translations.

Advanced Usage Examples

Multiple Document Types

Complex Invoice with All Features

Reverse Charge Invoice

Getting Price Information

Testing

The library includes comprehensive unit tests with PHPUnit.

Running Tests

Test Coverage

The library includes 93 tests with 280 assertions covering:

All tests use strict type checking and follow PHPUnit 11 best practices.

Code Quality

This library follows strict coding standards and includes automated quality checks:

Quality Tools

Localization

The library includes Czech (cs), Slovak (sk), and English (en) translations.

Available Translation Keys

All translation keys use English snake_case format:

Creating Custom Translations

Migration from Version 2.x

If you're upgrading from the old WFPfaktury class, please read the complete Migration Guide which includes:

Quick example:

Old code (v2.x):

New code (v3.0):

Key Changes:

See MIGRATION.md for complete details.

Examples

See the examples/ directory for complete working examples:

See the examples README for detailed descriptions of each example.

Performance Tips

  1. Reuse instance: Create one InvoiceGenerator instance and use clearData() between invoices
  2. Disable features: Turn off unused features (QR codes, barcodes, signatures) for faster generation
  3. Optimize images: Use compressed images with appropriate dimensions
  4. Font subsetting: Enabled by default, reduces PDF size
  5. Batch processing: Generate multiple invoices in one script execution

Troubleshooting

Common Issues

PDF not generating:

QR codes not showing:

Images not displaying:

Wrong language:

License

This project is licensed under the MIT License.

You are free to use, modify, and distribute this library in your commercial and non-commercial projects.

See the LICENSE file for full details.

Author

Credits

Support

For issues and feature requests, please use the GitHub issue tracker.

Version

Current version: 3.0.9

Changelog

3.0.9

3.0.8

3.0.6

3.0.5

3.0.4

3.0.3

3.0.2

3.0.0

2.x


All versions of invoice-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3 || ^8.4 || ^8.5
tecnickcom/tcpdf Version ^6.2
ext-gd 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 kenod/invoice-generator contains the following files

Loading the files please wait ...