cline / zpl
Convert PDFs and images into ZPL output for Zebra printers.
1.0.0
2026-03-25 02:14 UTC
Requires
- php: ^8.5.0
- facade/ignition-contracts: ^1.0.2
- guzzlehttp/guzzle: ^7.10
- illuminate/collections: ^12.36 || ^13.0
- monolog/monolog: ^3.10
- psr/log: ^3.0.2
Requires (Dev)
- cline/coding-standard: ^2.0.2
- pestphp/pest: ^4.4.3
- pestphp/pest-plugin-type-coverage: ^4.0.3
- phpstan/phpstan: ^2.1.42
- rector/rector: ^2.3.9
- symfony/var-dumper: ^7.4.0 || ^8.0.6
README
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.