cline/zpl

Convert PDFs and images into ZPL output for Zebra printers.

Maintainers

Package info

github.com/faustbrian/zpl

Language:Zimpl

pkg:composer/cline/zpl

Statistics

Installs: 10

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-03-25 02:14 UTC

This package is auto-updated.

Last update: 2026-03-25 02:15:26 UTC


README

GitHub Workflow Status Latest Version on Packagist Software License Total Downloads

zpl

Convert PDFs and images into ZPL output for Zebra printers.

Requirements

Requires PHP 8.4+

Installation

composer require cline/zpl

Usage

use Cline\Zpl\PdfToZplConverter;
use Cline\Zpl\Settings\ConverterSettings;

$converter = new PdfToZplConverter(new ConverterSettings());
$pages = $converter->convertFromFile('/path/to/label.pdf');

Errors

The package throws specific exceptions that all implement Cline\Zpl\Exceptions\ZplException, so consumers can catch either granular failure types or the package-wide marker interface.

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

The MIT License. Please see License File for more information.