PHPackages                             develpr/phindle - 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. develpr/phindle

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

develpr/phindle
===============

Creates full featured opf/ncx files for Kindle (mobi) ebooks and allows for images and other static resources

0.2.1(12y ago)91081[2 issues](https://github.com/develpr/phindle/issues)MITPHPPHP &gt;=5.4.0

Since May 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/develpr/phindle)[ Packagist](https://packagist.org/packages/develpr/phindle)[ Docs](http://github.com/develpr/phindle)[ RSS](/packages/develpr-phindle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (5)Used By (0)

Phindle - Kindle eBook Generator#
=================================

[](#phindle---kindle-ebook-generator)

What does Phindle do?##
-----------------------

[](#what-does-phindle-do)

Phindle makes it simpler to create a well formatted kindle friendly mobi ebook. This is done by allowing you to add content to an instance of the Phindle class, and then from there automatically generated the supporting meta/structure related files required by kindlegen.

Assuming you provide the necessary inputs (see below), the mobi book generated will automatically have:

1. A table of contents in the beginning of the book
2. A logic table of contents (this is table of contents accessible via Kindle's menu - not the same thing as the ToC in the beginning of a book)
3. Various metadata populed within the book (title, author, isbn, publish date, plus cover images, the reading order of your content, etc)

Prerequisites/Requisites##
--------------------------

[](#prerequisitesrequisites)

Unfortunately, the command line utility `kindlegen` is a prerequisite of Phindle. It is not something that can be installed via composer and so I wanted to mention it first before anything else because it needs to be installed manually. `kindlegen` is a tool **provided free by Amazon** for creating mobi ebook files from a variety of different input formats, including most notably (for us) .html files.

[**`kindlegen` can be downloaded here**](http://www.amazon.com/gp/feature.html?docId=1000765211)

You may need to adjust permissions in your environment - Phindle creates a number of temporary files required by the kindlegen tool. This includes a number of html files, an ncx file, and an opf file. You can specify the path that these files are saved to, and they will be automatically deleted after creating of the final ebook.

Use
---

[](#use)

Check out a video walkthrough of the features/use of Phindle below:

[![ScreenShot](https://camo.githubusercontent.com/dcf050bf037929fe52c56084c156415bd8771f89b0ead510fb29c336adbdbe4d/687474703a2f2f7777772e646576656c70722e636f6d2f75706c6f6164732f696d616765732f7068696e646c655f766964656f5f696d6167652e6a7067)](https://www.youtube.com/watch?v=H-2a8ol7Fjo)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.4% 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 ~26 days

Total

3

Last Release

4381d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.3.0

0.2.1PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a411b7a9671303e83fb5b27574994a55c6c35a550cf55bb938d175479eec688e?d=identicon)[develpr](/maintainers/develpr)

---

Top Contributors

[![develpr](https://avatars.githubusercontent.com/u/3022076?v=4)](https://github.com/develpr "develpr (63 commits)")[![kevin-mitchell](https://avatars.githubusercontent.com/u/21270844?v=4)](https://github.com/kevin-mitchell "kevin-mitchell (1 commits)")

---

Tags

ebookbookmobiopfkindlencx

### Embed Badge

![Health badge](/badges/develpr-phindle/health.svg)

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

###  Alternatives

[kiwilan/php-ebook

PHP package to read metadata and extract covers from eBooks, comics and audiobooks.

3717.3k2](/packages/kiwilan-php-ebook)[easybook/easybook

Book publishing application

76111.5k](/packages/easybook-easybook)[themsaid/ibis

Markdown to PDF book builder

2.0k2.0k](/packages/themsaid-ibis)[hi-folks/ibis-next

Creating EPUB and PDF ebook from Markdown

1181.1k](/packages/hi-folks-ibis-next)[qipsius/tcpdf-bundle

A bundle to easily integrate TCPDF into Symfony

23749.5k](/packages/qipsius-tcpdf-bundle)[kiwilan/php-archive

PHP package to handle archives (.zip, .rar, .tar, .7z, .pdf) with unified API and hybrid solution (native/p7zip), designed to works with EPUB and CBA (.cbz, .cbr, .cb7, .cbt).

1132.7k1](/packages/kiwilan-php-archive)

PHPackages © 2026

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