PHPackages                             kduma/pdf-scan-splitter-tool - 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. [CLI &amp; Console](/categories/cli)
4. /
5. kduma/pdf-scan-splitter-tool

ActiveProject[CLI &amp; Console](/categories/cli)

kduma/pdf-scan-splitter-tool
============================

Scanned PDF files splitter and sorter based on barcode

v0.5.0(3y ago)015[3 PRs](https://github.com/kduma-OSS/CLI-pdf-scan-splitter/pulls)MITPHPPHP ^8.1

Since Nov 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kduma-OSS/CLI-pdf-scan-splitter)[ Packagist](https://packagist.org/packages/kduma/pdf-scan-splitter-tool)[ Docs](https://github.com/kduma-OSS/CLI-pdf-scan-splitter)[ RSS](/packages/kduma-pdf-scan-splitter-tool/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (16)Used By (0)

CLI-pdf-scan-splitter
=====================

[](#cli-pdf-scan-splitter)

Scanned PDF files splitter and sorter based on barcode

**Check full documentation on: **

### `pss` tool

[](#pss-tool)

This tool reads every PDF provided as an argument, splits every page into separate PDF and looks for a Code-128 barcode on each page. If a barcode is found, the page is saved into a file named after the barcode into the output directory. If no barcode is found, the page is saved into a file named `UNKNOWN.pdf`. If there are multiple barcodes on a page, the page is saved into a file named after first barcode. If there is multiple pages with the same barcode, the pages are saved into a file with a number suffix for duplicates.

**WARNING: Files already existing in the output directory will be overwritten!**

`./pss process   [...] `

### composer setup

[](#composer-setup)

`composer global require kduma/pdf-scan-splitter-tool`

Tool will be available globally as `pss` command.

### Requirements

[](#requirements)

This tool is based on `poppler-utils` and `zbar-tools` packages. Those packages are run in a docker container, so you don't need to install them on your system, **but you need to have docker installed**.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

12

Last Release

1254d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d09451622719c7efce1a7971b8e5a875859504882ba2b8c279d1015a99e8f12c?d=identicon)[kduma](/maintainers/kduma)

---

Top Contributors

[![kduma](https://avatars.githubusercontent.com/u/1062582?v=4)](https://github.com/kduma "kduma (52 commits)")

---

Tags

clipdfclipdfbarcodesorter

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/kduma-pdf-scan-splitter-tool/health.svg)

```
[![Health](https://phpackages.com/badges/kduma-pdf-scan-splitter-tool/health.svg)](https://phpackages.com/packages/kduma-pdf-scan-splitter-tool)
```

###  Alternatives

[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.4k](/packages/nunomaduro-collision)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

9989.0k](/packages/mehrancodes-laravel-harbor)

PHPackages © 2026

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