PHPackages                             asika/pdf2text - 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. asika/pdf2text

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

asika/pdf2text
==============

Simple PHP PDF to text class.

1.0.6(2y ago)25833.7k↓31.3%17MITPHP

Since Apr 13Pushed 2y ago2 watchersCompare

[ Source](https://github.com/asika32764/php-pdf-2-text)[ Packagist](https://packagist.org/packages/asika/pdf2text)[ RSS](/packages/asika-pdf2text/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

Simple PDF to text class
========================

[](#simple-pdf-to-text-class)

[![Latest Stable Version](https://camo.githubusercontent.com/41581926fc875d19380a3f57835fd92831a54b51b5f1388a1d94ae4bfd0e109c/68747470733a2f2f706f7365722e707567782e6f72672f6173696b612f70646632746578742f762f737461626c652e737667)](https://packagist.org/packages/asika/pdf2text) [![Total Downloads](https://camo.githubusercontent.com/580b5b3a128020c56e18b4266d45700fc71677de6fde255d4a9afab435e7e347/68747470733a2f2f706f7365722e707567782e6f72672f6173696b612f70646632746578742f646f776e6c6f6164732e737667)](https://packagist.org/packages/asika/pdf2text) [![Latest Unstable Version](https://camo.githubusercontent.com/0746d275186371e28913c6443c2c2b68edc7498e3b636c9ae991bdeee01f5fe3/68747470733a2f2f706f7365722e707567782e6f72672f6173696b612f70646632746578742f762f756e737461626c652e737667)](https://packagist.org/packages/asika/pdf2text) [![License](https://camo.githubusercontent.com/000c9bc8a435d8c1603d0c6abd00098a58e40322597bf4e95bfe5aabdd5a413d/68747470733a2f2f706f7365722e707567782e6f72672f6173696b612f70646632746578742f6c6963656e73652e737667)](https://packagist.org/packages/asika/pdf2text)

This is a simple PDF to text class based on [SilverStripe framework](https://code.google.com/p/lucene-silverstripe-plugin/source/browse/trunk/thirdparty/class.pdf2text.php?r=19)

This version support composer and PSR-4 autoloading. Origin code is maintained by [Darren Inwood](https://code.google.com/u/102046044091186134429).

Installation Via Composer
=========================

[](#installation-via-composer)

```
{
    "require": {
        "asika/pdf2text": "~1.0"
    }
}
```

Usage
=====

[](#usage)

```
$reader = new \Asika\Pdf2text;
$output = $reader->decode($fileName);
```

Lincense
========

[](#lincense)

MIT

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 73.1% 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 ~584 days

Recently: every ~694 days

Total

7

Last Release

933d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1639206?v=4)[Simon Asika](/maintainers/asika32764)[@asika32764](https://github.com/asika32764)

---

Top Contributors

[![asika32764](https://avatars.githubusercontent.com/u/1639206?v=4)](https://github.com/asika32764 "asika32764 (19 commits)")[![perk11](https://avatars.githubusercontent.com/u/1924829?v=4)](https://github.com/perk11 "perk11 (4 commits)")[![omoustaouda](https://avatars.githubusercontent.com/u/6077767?v=4)](https://github.com/omoustaouda "omoustaouda (2 commits)")[![dgoosens](https://avatars.githubusercontent.com/u/1250047?v=4)](https://github.com/dgoosens "dgoosens (1 commits)")

---

Tags

pdfpdf-to-text

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/asika-pdf2text/health.svg)

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

###  Alternatives

[qipsius/tcpdf-bundle

A bundle to easily integrate TCPDF into Symfony

23749.5k](/packages/qipsius-tcpdf-bundle)[radnan/rdn-csv

Laminas module to export and import CSV files

19119.3k](/packages/radnan-rdn-csv)[nilgems/laravel-textract

A Laravel package to extract text from files like DOC, XL, Image, Pdf and more. I've developed this package by inspiring "npm textract".

195.7k](/packages/nilgems-laravel-textract)[akeneo-labs/excel-connector-bundle

Akeneo PIM Excel connector bundle

166.4k](/packages/akeneo-labs-excel-connector-bundle)

PHPackages © 2026

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