PHP Package: spatie/pdf-to-text

Efficient PHP library for extracting text content from PDF files with ease and speed, perfect for content analysis and processing.

Current Version: 1.54.1
Last Updated: 2025-06-13
PHP Requirement: ^7.4|^8.0
Dependencies: None

Package Description

Spatie's PDF-to-Text PHP library offers a comprehensive solution for extracting text from PDF files, enabling seamless integration and processing of textual content. With its powerful capabilities and user-friendly interface, this library simplifies text extraction tasks, making it an ideal choice for various applications.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.54.1

Download Download v1.54.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/spatie/pdf-to-text/1.54.1/loader.php';
use Spatie\PdfToText\Pdf;

$obj = new Pdf();
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.