PHPackages                             vtardia/md2epub - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vtardia/md2epub

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

vtardia/md2epub
===============

Markdown to ePub converter

472213PHP

Since Feb 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/vtardia/md2epub)[ Packagist](https://packagist.org/packages/vtardia/md2epub)[ RSS](/packages/vtardia-md2epub/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Markdown to ePub Utility
========================

[](#markdown-to-epub-utility)

`md2epub` is a PHP script that converts a directory of markdown documents (`*.md`) and other resources to an electronic book compatible with the ePub 2.0.1 standard.

The instruction to compile the ebook must be entered in the `book.json` file.

The Markdown parser library is [Michel Fortin's PHP Markdown Extra](http://michelf.ca/projects/php-markdown/extra/).

The template parser library is [RainTPL](http://www.raintpl.com).

More info on PHPMaster's article [Building ePub with PHP and Markdown](http://phpmaster.com/building-epub-with-php-and-markdown/).

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

[](#installation)

Copy the application directory in a shared path (eg `/usr/local`) and create a link to `bin/md2epub`.

Usage
-----

[](#usage)

From the command line type:

```
md2epub /source/ebook/directory/ /dest/book.epub

```

Contributors
------------

[](#contributors)

- [Timothy Boronczyk](https://github.com/tboronczyk)

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/539034?v=4)[Vito Tardia](/maintainers/vtardia)[@vtardia](https://github.com/vtardia)

---

Top Contributors

[![vtardia](https://avatars.githubusercontent.com/u/539034?v=4)](https://github.com/vtardia "vtardia (2 commits)")

### Embed Badge

![Health badge](/badges/vtardia-md2epub/health.svg)

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

###  Alternatives

[mexitek/phpcolors

A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.

4993.8M20](/packages/mexitek-phpcolors)[diverently/laravel-mix-kirby

Laravel Mix helper for the Kirby CMS

2312.7k](/packages/diverently-laravel-mix-kirby)

PHPackages © 2026

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