PHPackages                             oxide/pdf-oxide - 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. oxide/pdf-oxide

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

oxide/pdf-oxide
===============

PDF processing toolkit (Rust-backed, FFI-bound) for PHP

v0.3.69(4w ago)8675[4 PRs](https://github.com/yfedoseev/pdf_oxide/pulls)MITPHP &gt;=8.2CI passing

Since May 25Compare

[ Source](https://github.com/yfedoseev/pdf_oxide)[ Packagist](https://packagist.org/packages/oxide/pdf-oxide)[ Docs](https://github.com/yfedoseev/pdf_oxide)[ GitHub Sponsors](https://github.com/yfedoseev)[ RSS](/packages/oxide-pdf-oxide/feed)WikiDiscussions Synced 3w ago

READMEChangelogDependenciesVersions (41)Used By (0)

PDFOxide - The Fastest PDF Toolkit for 20 Languages — Python, Rust, Go, JS/TS, C#, Java, Kotlin, Swift, C++ &amp; more, plus CLI &amp; AI
=========================================================================================================================================

[](#pdfoxide---the-fastest-pdf-toolkit-for-20-languages--python-rust-go-jsts-c-java-kotlin-swift-c--more-plus-cli--ai)

> **New in v0.3.69 — eleven new language bindings.** PDFOxide now ships idiomatic bindings for **C++, Swift, Kotlin, Dart, R, Julia, Zig, Scala, Clojure, Objective-C, and Elixir**, each built over the stable C ABI with its own CI workflow, api-coverage tests, and runnable examples. That brings the toolkit to **20 languages** (Rust core + 19 bindings). Want another language? [Open an issue](https://github.com/yfedoseev/pdf_oxide/issues/new) and tell us.

The fastest PDF library for text extraction, image extraction, and markdown conversion. A Rust core with bindings for **19 languages** — Python, Go, JavaScript / TypeScript, C# / .NET, Java, Kotlin, Scala, Clojure, Ruby, PHP, C++, Objective-C, Swift, Dart, R, Julia, Zig, Elixir, and WASM — plus a CLI tool and MCP server for AI assistants. 0.8ms mean per document, 5× faster than PyMuPDF, 15× faster than pypdf. 100% pass rate on 3,830 real-world PDFs. MIT licensed.

[![Crates.io](https://camo.githubusercontent.com/19da9cb8fc814ddb948a0ef5d5326c3d8895dc9a719b48da0b5bbaffab0a30db/68747470733a2f2f696d672e736869656c64732e696f2f6372617465732f762f7064665f6f786964652e737667)](https://crates.io/crates/pdf_oxide)[![PyPI](https://camo.githubusercontent.com/8faeb7d26746f5e2d1baf90c06ea31761162fb49433855b8e3e7d46bd94ab73f/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f7064665f6f786964652e737667)](https://pypi.org/project/pdf_oxide/)[![PyPI Downloads](https://camo.githubusercontent.com/654acfe9abe190c7a7b4516ac39a402299dbb44479fa2fc88275174da0ff4a44/68747470733a2f2f696d672e736869656c64732e696f2f707970692f646d2f7064662d6f78696465)](https://pypi.org/project/pdf-oxide/)[![npm](https://camo.githubusercontent.com/2a673c14170d2170e41bc82e25cd255045d7649925799b180b7301997ca2579a/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f7064662d6f786964652d7761736d)](https://www.npmjs.com/package/pdf-oxide-wasm)[![Documentation](https://camo.githubusercontent.com/a1916ef3e0e5e8493b27a31982c5216f751ac025ef75b67b47332d3682ad0a68/68747470733a2f2f646f63732e72732f7064665f6f786964652f62616467652e737667)](https://docs.rs/pdf_oxide)[![Build Status](https://github.com/yfedoseev/pdf_oxide/workflows/CI/badge.svg)](https://github.com/yfedoseev/pdf_oxide/actions)[![License: MIT OR Apache-2.0](https://camo.githubusercontent.com/f39131127545ad7907bcecba201dabc10b0b32199c4a45b16a35959a3eb21da4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542532304f522532304170616368652d2d322e302d626c75652e737667)](https://opensource.org/licenses)

Quick Start
-----------

[](#quick-start)

### Python

[](#python)

```
from pdf_oxide import PdfDocument

with PdfDocument("paper.pdf") as doc:
    print(len(doc))                          # number of pages
    for page in doc:
        text = page.text                     # lazy property
        chars = page.chars                   # lazy property
        md = page.markdown(detect_headings=True)

# Direct page access by index
doc = PdfDocument("paper.pdf")
page = doc[0]
text = page.text
```

```
pip install pdf_oxide
```

### Rust

[](#rust)

```
use pdf_oxide::PdfDocument;

let mut doc = PdfDocument::open("paper.pdf")?;
let text = doc.extract_text(0)?;
let images = doc.extract_images(0)?;
let markdown = doc.to_markdown(0, Default::default())?;
```

```
[dependencies]
pdf_oxide = "0.3"
```

### CLI

[](#cli)

```
pdf-oxide text document.pdf
pdf-oxide markdown document.pdf -o output.md
pdf-oxide search document.pdf "pattern"
pdf-oxide merge a.pdf b.pdf -o combined.pdf
```

```
brew install yfedoseev/tap/pdf-oxide
```

### MCP Server (for AI assistants)

[](#mcp-server-for-ai-assistants)

```
# Install
brew install yfedoseev/tap/pdf-oxide   # includes pdf-oxide-mcp

# Configure in Claude Desktop / Claude Code / Cursor
{
  "mcpServers": {
    "pdf-oxide": { "command": "crgx", "args": ["pdf_oxide_mcp@latest"] }
  }
}
```

Why PDFOxide?
-------------

[](#why-pdfoxide)

- **Fast** — 0.8ms mean per document, 5× faster than PyMuPDF, 15× faster than pypdf, 29× faster than pdfplumber
- **Reliable** — 100% pass rate on 3,830 test PDFs, zero panics, zero timeouts
- **Complete** — Text extraction, image extraction, PDF creation, and editing in one library
- **Multi-platform** — 20 languages (Rust core + 19 bindings: Python, Go, JS/TS, C#/.NET, Java, Kotlin, Scala, Clojure, Ruby, PHP, C++, Objective-C, Swift, Dart, R, Julia, Zig, Elixir, WASM), plus a CLI and MCP server for AI assistants
- **Permissive license** — MIT / Apache-2.0 — use freely in commercial and open-source projects

Performance
-----------

[](#performance)

Benchmarked on 3,830 PDFs from three independent public test suites (veraPDF, Mozilla pdf.js, DARPA SafeDocs). Text extraction libraries only (no OCR). Single-thread, 60s timeout, no warm-up.

### Python Libraries

[](#python-libraries)

LibraryMeanp99Pass RateLicense**PDFOxide****0.8ms****9ms****100%****MIT**PyMuPDF4.6ms28ms99.3%AGPL-3.0pypdfium24.1ms42ms99.2%Apache-2.0pymupdf4llm55.5ms280ms99.1%AGPL-3.0pdftext7.3ms82ms99.0%GPL-3.0pdfminer16.8ms124ms98.8%MITpdfplumber23.2ms189ms98.8%MITmarkitdown108.8ms378ms98.6%MITpypdf12.1ms97ms98.4%BSD-3### Rust Libraries

[](#rust-libraries)

LibraryMeanp99Pass RateText Extraction**PDFOxide****0.8ms****9ms****100%****Built-in**oxidize\_pdf13.5ms11ms99.1%Basicunpdf2.8ms10ms95.1%Basicpdf\_extract4.08ms37ms91.5%Basiclopdf0.3ms2ms80.2%No built-in extraction### Text Quality

[](#text-quality)

99.5% text parity vs PyMuPDF and pypdfium2 across the full corpus. PDFOxide extracts text from 7–10× more "hard" files than it misses vs any competitor.

### Corpus

[](#corpus)

SuitePDFsPass Rate[veraPDF](https://github.com/veraPDF/veraPDF-corpus) (PDF/A compliance)2,907100%[Mozilla pdf.js](https://github.com/mozilla/pdf.js/tree/master/test/pdfs)89799.2%[SafeDocs](https://github.com/pdf-association/safedocs) (targeted edge cases)26100%**Total****3,830****100%**100% pass rate on all valid PDFs — the 7 non-passing files across the corpus are intentionally broken test fixtures (missing PDF header, fuzz-corrupted catalogs, invalid xref streams).

Features
--------

[](#features)

ExtractCreateEditText &amp; LayoutDocumentsAnnotationsImagesTablesForm FieldsFormsGraphicsBookmarksAnnotationsTemplatesLinksBookmarksImagesContentPython API
----------

[](#python-api)

### Page-oriented API

[](#page-oriented-api)

```
from pdf_oxide import PdfDocument

with PdfDocument("report.pdf") as doc:
    print(len(doc))          # page count
    print(doc.version())

    # Iterate or index pages
    for page in doc:
        text   = page.text                      # str, lazy
        chars  = page.chars                     # list[TextChar], lazy
        words  = page.words                     # list[Word], lazy
        lines  = page.lines                     # list[TextLine], lazy
        tables = page.tables                    # list[Table], lazy
        images = page.images                    # list[Image], lazy
        md     = page.markdown(detect_headings=True)
        html   = page.html()
        print(f"Page {page.index}: {page.width:.0f}×{page.height:.0f} pts")

    # Direct index access (supports negative indices)
    first = doc[0]
    last  = doc[-1]
```

### Scoped extraction

[](#scoped-extraction)

```
# Extract from a region: (x, y, width, height) in PDF points
header = doc.within(0, (0, 700, 612, 92)).extract_text()
region = doc.within(0, (50, 400, 500, 200))
region_words  = region.extract_words()
region_images = region.extract_images()
```

### Extraction profiles

[](#extraction-profiles)

```
from pdf_oxide import ExtractionProfile

# Pre-tuned profiles for different document types
words = doc.extract_words(0, profile=ExtractionProfile.form())
lines = doc.extract_text_lines(0, profile=ExtractionProfile.academic())

# Override adaptive thresholds (in PDF points)
words = doc.extract_words(0, word_gap_threshold=2.5)
lines = doc.extract_text_lines(0, word_gap_threshold=2.5, line_gap_threshold=4.0)
params = doc.page_layout_params(0)
print(f"word gap: {params.word_gap_threshold:.1f}")
```

### Form Fields

[](#form-fields)

```
# Extract form fields
fields = doc.get_form_fields()
for f in fields:
    print(f"{f.name} ({f.field_type}) = {f.value}")

# Fill and save
doc.set_form_field_value("employee_name", "Jane Doe")
doc.set_form_field_value("wages", "85000.00")
doc.save("filled.pdf")
```

Rust API
--------

[](#rust-api)

```
use pdf_oxide::PdfDocument;

fn main() -> Result {
    let mut doc = PdfDocument::open("paper.pdf")?;

    // Extract text
    let text = doc.extract_text(0)?;

    // Character-level extraction
    let chars = doc.extract_chars(0)?;

    // Extract images
    let images = doc.extract_images(0)?;

    // Vector graphics
    let paths = doc.extract_paths(0)?;

    Ok(())
}
```

### Form Fields (Rust)

[](#form-fields-rust)

```
use pdf_oxide::editor::{DocumentEditor, EditableDocument, SaveOptions};
use pdf_oxide::editor::form_fields::FormFieldValue;

let mut editor = DocumentEditor::open("w2.pdf")?;
editor.set_form_field_value("employee_name", FormFieldValue::Text("Jane Doe".into()))?;
editor.save_with_options("filled.pdf", SaveOptions::incremental())?;
```

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

[](#installation)

### Python

[](#python-1)

```
pip install pdf_oxide
```

Wheels available for Linux, macOS, and Windows. Python 3.8–3.14.

### Rust

[](#rust-1)

```
[dependencies]
pdf_oxide = "0.3"
```

### JavaScript/WASM

[](#javascriptwasm)

```
npm install pdf-oxide-wasm
```

```
const { WasmPdfDocument } = require("pdf-oxide-wasm");
```

### CLI

[](#cli-1)

```
brew install yfedoseev/tap/pdf-oxide    # Homebrew (macOS/Linux)
cargo install pdf_oxide_cli             # Cargo
cargo binstall pdf_oxide_cli            # Pre-built binary via cargo-binstall
```

### MCP Server

[](#mcp-server)

```
brew install yfedoseev/tap/pdf-oxide    # Included with CLI in Homebrew
cargo install pdf_oxide_mcp             # Cargo
```

### Other languages

[](#other-languages)

Established bindings:

- **Go** — `go get github.com/yfedoseev/pdf_oxide/go` — see [go/README.md](go/README.md)
- **JavaScript / TypeScript (Node.js)** — `npm install pdf-oxide` — see [js/README.md](js/README.md)
- **C# / .NET** — `dotnet add package PdfOxide` — see [csharp/README.md](csharp/README.md)
- **Java (JDK 11+)** — Maven coords `fyi.oxide:pdf-oxide:0.3.69` — see [java/README.md](java/README.md)
- **Ruby** — `gem install pdf_oxide` — see [ruby/README.md](ruby/README.md)
- **PHP** — `composer require oxide/pdf-oxide` — see [php/README.md](php/README.md)

New in v0.3.69 (all over the stable C ABI):

- **C++** (header-only, CMake / Conan) — see [cpp/README.md](cpp/README.md)
- **Swift** (SwiftPM) — see [swift/README.md](swift/README.md)
- **Kotlin** (`fyi.oxide:pdf-oxide-kotlin:0.3.69`) — see [kotlin/README.md](kotlin/README.md)
- **Scala** (`fyi.oxide %% pdf-oxide-scala`) — see [scala/README.md](scala/README.md)
- **Clojure** (`fyi.oxide/pdf-oxide-clojure` on Clojars) — see [clojure/README.md](clojure/README.md)
- **Dart / Flutter** (`dart pub add pdf_oxide`) — see [dart/README.md](dart/README.md)
- **R** (`install.packages("pdfoxide")`) — see [r/README.md](r/README.md)
- **Julia** (`Pkg.add("PdfOxide")`) — see [julia/README.md](julia/README.md)
- **Zig** (`build.zig.zon`) — see [zig/README.md](zig/README.md)
- **Objective-C** (CocoaPods) — see [objc/README.md](objc/README.md)
- **Elixir** (`{:pdf_oxide, "~> 0.3.69"}` on Hex) — see [elixir/README.md](elixir/README.md)

```

  fyi.oxide
  pdf-oxide
  0.3.69

```

```
// Kotlin (Gradle, Kotlin DSL)
implementation("fyi.oxide:pdf-oxide-kotlin:0.3.69")
```

Every binding shares the same Rust core, so a bug fix in one lands in all of them — everything you read in this README applies, just with each language's native naming conventions. Publishing details for each registry are in [docs/RELEASING-bindings.md](docs/RELEASING-bindings.md).

CLI
---

[](#cli-2)

22 commands for PDF processing directly from your terminal:

```
pdf-oxide text report.pdf                      # Extract text
pdf-oxide markdown report.pdf -o report.md     # Convert to Markdown
pdf-oxide html report.pdf -o report.html       # Convert to HTML
pdf-oxide info report.pdf                      # Show metadata
pdf-oxide search report.pdf "neural.?network"  # Search (regex)
pdf-oxide images report.pdf -o ./images/       # Extract images
pdf-oxide merge a.pdf b.pdf -o combined.pdf    # Merge PDFs
pdf-oxide split report.pdf -o ./pages/         # Split into pages
pdf-oxide watermark doc.pdf "DRAFT"            # Add watermark
pdf-oxide forms w2.pdf --fill "name=Jane"      # Fill form fields
```

Run `pdf-oxide` with no arguments for interactive REPL mode. Use `--pages 1-5` to process specific pages, `--json` for machine-readable output.

MCP Server
----------

[](#mcp-server-1)

`pdf-oxide-mcp` lets AI assistants (Claude, Cursor, etc.) extract content from PDFs locally via the [Model Context Protocol](https://modelcontextprotocol.io/).

Add to your MCP client configuration:

```
{
  "mcpServers": {
    "pdf-oxide": { "command": "crgx", "args": ["pdf_oxide_mcp@latest"] }
  }
}
```

The server exposes an `extract` tool that supports text, markdown, and HTML output formats with optional page ranges and image extraction. All processing runs locally — no files leave your machine.

Building from Source
--------------------

[](#building-from-source)

```
# Clone and build
git clone https://github.com/yfedoseev/pdf_oxide
cd pdf_oxide
cargo build --release

# Run tests
cargo test

# Build Python bindings
maturin develop

# Build the shared library for Go, JS/TS, and C# bindings
cargo build --release --lib
# Output: target/release/libpdf_oxide.{so,dylib} or pdf_oxide.dll
```

Documentation
-------------

[](#documentation)

- **[Full Documentation](https://pdf.oxide.fyi)** — Complete documentation site
- **[Getting Started (Rust)](docs/getting-started-rust.md)** — Rust guide
- **[Getting Started (Python)](docs/getting-started-python.md)** — Python guide
- **[Getting Started (Go)](go/README.md)** — Go guide
- **[Getting Started (JavaScript / TypeScript)](js/README.md)** — Node.js guide
- **[Getting Started (C# / .NET)](csharp/README.md)** — .NET guide
- **[Getting Started (WASM)](docs/getting-started-wasm.md)** — Browser and Node.js WASM guide
- **[API Docs](https://docs.rs/pdf_oxide)** — Full Rust API reference
- **[Performance Benchmarks](https://pdf.oxide.fyi/docs/performance)** — Full benchmark methodology and results

Use Cases
---------

[](#use-cases)

- **RAG / LLM pipelines** — Convert PDFs to clean Markdown for retrieval-augmented generation with LangChain, LlamaIndex, or any framework
- **AI assistants** — Give Claude, Cursor, or any MCP-compatible tool direct PDF access via the MCP server
- **Document processing at scale** — Extract text, images, and metadata from thousands of PDFs in seconds
- **Data extraction** — Pull structured data from forms, tables, and layouts
- **Academic research** — Parse papers, extract citations, and process large corpora
- **PDF generation** — Create invoices, reports, certificates, and templated documents programmatically
- **PyMuPDF alternative** — MIT licensed, 5× faster, no AGPL restrictions

Why I built this
----------------

[](#why-i-built-this)

I needed PyMuPDF's speed without its AGPL license, and I needed it in more than one language. Nothing existed that ticked all three boxes — fast, MIT, multi-language — so I wrote it. The Rust core is what does the real work; the bindings for Python, Go, JS/TS, C#, and WASM are thin shells around the same code, so a bug fix in one lands in all of them. It now passes 100% of the veraPDF + Mozilla pdf.js + DARPA SafeDocs test corpora (3,830 PDFs) on every platform I've tested.

If it's useful to you, a star on GitHub genuinely helps. If something's broken or missing, [open an issue](https://github.com/yfedoseev/pdf_oxide/issues) — I read all of them.

— Yury

License
-------

[](#license)

Dual-licensed under [MIT](LICENSE-MIT) or [Apache-2.0](LICENSE-APACHE) at your option. Unlike AGPL-licensed alternatives, PDFOxide can be used freely in any project — commercial or open-source — with no copyleft restrictions.

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

[](#contributing)

We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.

```
cargo build && cargo test && cargo fmt && cargo clippy -- -D warnings
```

Citation
--------

[](#citation)

```
@software{pdf_oxide,
  title = {PDFOxide: Fast Multi-Language PDF Toolkit (Rust core, 19 language bindings)},
  author = {Yury Fedoseev},
  year = {2025},
  url = {https://github.com/yfedoseev/pdf_oxide}
}
```

---

**20 languages** (Rust + Python + Go + JS/TS + C# + Java + Kotlin + Scala + Clojure + Ruby + PHP + C++ + Objective-C + Swift + Dart + R + Julia + Zig + Elixir + WASM) + **CLI** + **MCP** | MIT/Apache-2.0 | 100% pass rate on 3,830 PDFs | 0.8ms mean | 5× faster than the industry leaders

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance94

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87% 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 ~2 days

Total

14

Last Release

28d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1532172?v=4)[Yury F.](/maintainers/yfedoseev)[@yfedoseev](https://github.com/yfedoseev)

---

Top Contributors

[![yfedoseev](https://avatars.githubusercontent.com/u/1532172?v=4)](https://github.com/yfedoseev "yfedoseev (1214 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (46 commits)")[![RayVR](https://avatars.githubusercontent.com/u/526173?v=4)](https://github.com/RayVR "RayVR (27 commits)")[![monchin](https://avatars.githubusercontent.com/u/18521800?v=4)](https://github.com/monchin "monchin (22 commits)")[![hoesler](https://avatars.githubusercontent.com/u/1052770?v=4)](https://github.com/hoesler "hoesler (22 commits)")[![bsickler](https://avatars.githubusercontent.com/u/210394354?v=4)](https://github.com/bsickler "bsickler (9 commits)")[![tboser](https://avatars.githubusercontent.com/u/16601474?v=4)](https://github.com/tboser "tboser (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")[![RolandWArnold](https://avatars.githubusercontent.com/u/34581218?v=4)](https://github.com/RolandWArnold "RolandWArnold (5 commits)")[![kh3rld](https://avatars.githubusercontent.com/u/171191586?v=4)](https://github.com/kh3rld "kh3rld (5 commits)")[![haberman](https://avatars.githubusercontent.com/u/1270?v=4)](https://github.com/haberman "haberman (4 commits)")[![willywg](https://avatars.githubusercontent.com/u/43669?v=4)](https://github.com/willywg "willywg (4 commits)")[![vincenzopalazzo](https://avatars.githubusercontent.com/u/17150045?v=4)](https://github.com/vincenzopalazzo "vincenzopalazzo (3 commits)")[![mert-kurttutan](https://avatars.githubusercontent.com/u/88637659?v=4)](https://github.com/mert-kurttutan "mert-kurttutan (3 commits)")[![jvantuyl](https://avatars.githubusercontent.com/u/101?v=4)](https://github.com/jvantuyl "jvantuyl (3 commits)")[![andrewjradcliffe](https://avatars.githubusercontent.com/u/96091198?v=4)](https://github.com/andrewjradcliffe "andrewjradcliffe (2 commits)")[![jhhayashi](https://avatars.githubusercontent.com/u/7322271?v=4)](https://github.com/jhhayashi "jhhayashi (2 commits)")[![threebeanbags](https://avatars.githubusercontent.com/u/244434555?v=4)](https://github.com/threebeanbags "threebeanbags (2 commits)")[![jorlow](https://avatars.githubusercontent.com/u/210012?v=4)](https://github.com/jorlow "jorlow (1 commits)")[![Jeevaanandh](https://avatars.githubusercontent.com/u/196507916?v=4)](https://github.com/Jeevaanandh "Jeevaanandh (1 commits)")

---

Tags

pdfOCRrustsignaturesffitext extractionpdf-creationpdf-editing

### Embed Badge

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

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

###  Alternatives

[tecnickcom/tcpdf

Deprecated legacy PDF engine for PHP. Use instead tecnickcom/tc-lib-pdf.

4.5k109.8M593](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k83.4M582](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k72.4M62](/packages/knplabs-knp-snappy)[setasign/fpdi

FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF. Because it is also possible to use FPDI with TCPDF, there are no fixed dependencies defined. Please see suggestions for packages which evaluates the dependencies automatically.

1.2k155.8M297](/packages/setasign-fpdi)[setasign/fpdf

FPDF is a PHP class which allows to generate PDF files with pure PHP. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.

77870.8M282](/packages/setasign-fpdf)[vaites/php-apache-tika

Apache Tika bindings for PHP: extracts text from documents and images (with OCR), metadata and more...

1171.5M2](/packages/vaites-php-apache-tika)

PHPackages © 2026

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