PHPackages                             adiuvaris/reportlib - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. adiuvaris/reportlib

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

adiuvaris/reportlib
===================

A library to create dynamic pdf reports

1.0.3(2y ago)084↓100%1LGPL-3.0-onlyPHPPHP ^8.1.0

Since Dec 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/adiuvaris/ReportLib)[ Packagist](https://packagist.org/packages/adiuvaris/reportlib)[ Docs](https://www.adiuvaris.ch/reportlib)[ RSS](/packages/adiuvaris-reportlib/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (5)Used By (0)

ReportLib
=========

[](#reportlib)

*PHP Report Library*

- **category** Library
- **author** Michael Hodel
- **copyright** 2022-2023 Michael Hodel - Adiuvaris
- **license**  GNU-LGPL v3 (see LICENSE.TXT)
- **link**
- **source**

Description
-----------

[](#description)

PHP library for generating dynamic PDF reports using the TCPDF library to create the PDF documents. The library works with nested rectangle regions on the paper where the sizes can be defined in millimeters or in percent of the surrounding rectangle or the library calculates them by the content.

### Main Features:

[](#main-features)

- all standard page formats (from TCPDF), custom page margins;
- different page formats in one report;
- management of text styles;
- images, 2D barcodes (e.g. QR);
- page header and footer management;
- automatic page break, line break and text alignments;
- automatic page numbering;
- support for tables with a lot of features (e.g. automatic repeat the table header row after page break)
- nested structure of rectangles to create the report structure

Install
-------

[](#install)

Via Composer

```
$ composer require adiuvaris/ReportLib
```

Usage
-----

[](#usage)

```
