PHPackages                             cline/zpl - 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. cline/zpl

ActiveLibrary

cline/zpl
=========

Convert PDFs and images into ZPL output for Zebra printers.

00Zimpl

Since Mar 24Pushed 1mo agoCompare

[ Source](https://github.com/faustbrian/zpl)[ Packagist](https://packagist.org/packages/cline/zpl)[ RSS](/packages/cline-zpl/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

[![GitHub Workflow Status](https://github.com/faustbrian/zpl/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/faustbrian/zpl/actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/641097656c63c6d8ef0552fbdbcbe66e886f96191bc96b7b251c9f6ba8b7d7b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c696e652f7a706c2e737667)](https://packagist.org/packages/cline/zpl)[![Software License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/22736ad8bf09c7fefbc3f1f61e575dc370475d82162a8884a1bb69d7b819b33e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c696e652f7a706c2e737667)](https://packagist.org/packages/cline/zpl)

---

zpl
===

[](#zpl)

Convert PDFs and images into ZPL output for Zebra printers.

Requirements
------------

[](#requirements)

> **Requires [PHP 8.4+](https://php.net/releases/)**

Installation
------------

[](#installation)

```
composer require cline/zpl
```

Usage
-----

[](#usage)

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

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

Errors
------

[](#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
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/faustbrian/zpl/security) rather than the issue queue.

Credits
-------

[](#credits)

- [Brian Faust](https://github.com/faustbrian)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License. Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance64

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22145591?v=4)[Brian Faust](/maintainers/faustbrian)[@faustbrian](https://github.com/faustbrian)

---

Top Contributors

[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (1 commits)")

### Embed Badge

![Health badge](/badges/cline-zpl/health.svg)

```
[![Health](https://phpackages.com/badges/cline-zpl/health.svg)](https://phpackages.com/packages/cline-zpl)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
