# Third-Party Libraries

Kramar bundles the following third-party PHP libraries to generate PDF documents
(invoices, packing slips, credit notes). They are namespace-prefixed under
`Kramar\Vendor\…` (via Strauss) to avoid collisions with other plugins.

All bundled code is licensed under terms compatible with GPL-2.0-or-later.

| Library | Version | License | Source |
|---------|---------|---------|--------|
| dompdf/dompdf | 3.1.5 | LGPL-2.1 | https://github.com/dompdf/dompdf |
| dompdf/php-font-lib | 1.0.2 | LGPL-2.1-or-later | https://github.com/dompdf/php-font-lib |
| dompdf/php-svg-lib | 1.0.2 | LGPL-3.0-or-later | https://github.com/dompdf/php-svg-lib |
| masterminds/html5 | 2.10.1 | MIT | https://github.com/Masterminds/html5-php |
| sabberworm/php-css-parser | 9.4.0 | MIT | https://github.com/MyIntervals/PHP-CSS-Parser |

Each library directory retains its upstream license file:

- `dompdf/dompdf/LICENSE.LGPL` (LGPL-2.1)
- `dompdf/php-font-lib/LICENSE` (LGPL-2.1)
- `dompdf/php-svg-lib/LICENSE` + `dompdf/php-svg-lib/GPL-3.0.txt` (LGPL-3.0)
- `masterminds/html5/LICENSE.txt` (MIT)
- `sabberworm/php-css-parser/LICENSE` (MIT)
