PHP Package: smalot/pdfparser

Smalot's PHP library for parsing PDF files, providing extensive functionalities for content extraction and analysis.

Current Version: 2.12.1
Last Updated: 2025-08-18
PHP Requirement: >=7.1
Dependencies: None

Package Description

PDFParser is a robust PHP library developed by Smalot for parsing PDF files, offering a comprehensive set of tools for extracting text, images, and metadata. With its user-friendly interface and powerful parsing capabilities, PDFParser simplifies the process of working with PDF documents, making it an essential tool for developers dealing with PDF content in their applications. Whether you need to extract text for search indexing, analyze document structure, or convert PDFs to other formats, PDFParser delivers reliable performance and flexibility.

🔗 View on GitHub

Download Latest Version: 2.12.1

Download Download v2.12.1

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com

require_once 'libs/smalot/pdfparser/2.12.1/loader.php';
use Smalot\PdfParser\Parser;
use Smalot\PdfParser\PdfParser;

$obj = new Parser();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.