PHPackages                             leetools/pdf - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. leetools/pdf

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

leetools/pdf
============

pdf

0150↓100%PHP

Since Sep 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/leedong-512/pdf)[ Packagist](https://packagist.org/packages/leetools/pdf)[ RSS](/packages/leetools-pdf/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

pdf
===

[](#pdf)

pdf处理

example:

```
$demo = new Pdf([
    'outPath' => "app/pdf/temp", //存放拆分出的文件夹
    'tempPath' => "app/pdf/config", //要拆分的pdf文件存放目录以及脚本config目录
]);
$demoPdf = "test.pdf";
try {
    $list = $demo->split($demoPdf);

} catch (Exception $e) {
    // 抛出异常
}
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

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://www.gravatar.com/avatar/42e5c474b307191a3e5a18d82eca8e6bebd43203d77d89a88d79f010ab96b1dd?d=identicon)[leedong](/maintainers/leedong)

---

Top Contributors

[![leedong-512](https://avatars.githubusercontent.com/u/52443989?v=4)](https://github.com/leedong-512 "leedong-512 (1 commits)")

### Embed Badge

![Health badge](/badges/leetools-pdf/health.svg)

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

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.2k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M100](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M215](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M128](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

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