PHPackages                             typesetterio/typesetter-cli - 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. typesetterio/typesetter-cli

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

typesetterio/typesetter-cli
===========================

Create PDFs from markdown with PHP.

0.4.0(1y ago)10585↑141.2%[2 issues](https://github.com/TypesetterIO/typesetter-cli/issues)MITPHPPHP ^8.1

Since May 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/TypesetterIO/typesetter-cli)[ Packagist](https://packagist.org/packages/typesetterio/typesetter-cli)[ Docs](https://typesetter.io)[ GitHub Sponsors](https://github.com/aaronsaray)[ RSS](/packages/typesetterio-typesetter-cli/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (9)Versions (5)Used By (0)

 [![](.github/assets/logo.png)](.github/assets/logo.png)

 [![License](https://camo.githubusercontent.com/f8eaf53977170f3a7c9674c336feee2aea18c356028c9c84f47435e31b2f8266/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74797065736574746572696f2f747970657365747465722d636c693f6c6162656c436f6c6f723d65376535653426636f6c6f723d323932353234)](https://camo.githubusercontent.com/f8eaf53977170f3a7c9674c336feee2aea18c356028c9c84f47435e31b2f8266/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74797065736574746572696f2f747970657365747465722d636c693f6c6162656c436f6c6f723d65376535653426636f6c6f723d323932353234) [![Packagist](https://camo.githubusercontent.com/9db859190da573967c77a0a7efb184778adf9453974a11918fea584d7de4ed8c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f74797065736574746572696f2f747970657365747465722d636c693f6c6162656c436f6c6f723d65376535653426636f6c6f723d323932353234)](https://camo.githubusercontent.com/9db859190da573967c77a0a7efb184778adf9453974a11918fea584d7de4ed8c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f74797065736574746572696f2f747970657365747465722d636c693f6c6162656c436f6c6f723d65376535653426636f6c6f723d323932353234) [![GitHub Workflow Status](https://camo.githubusercontent.com/0a35fc601a95a01bb8c1b9d31fbe6028f8e699db28603fbe28698a0a97fc365c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f74797065736574746572696f2f747970657365747465722d636c692f63692e796d6c3f6c6162656c436f6c6f723d65376535653426636f6c6f723d323932353234)](https://camo.githubusercontent.com/0a35fc601a95a01bb8c1b9d31fbe6028f8e699db28603fbe28698a0a97fc365c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f74797065736574746572696f2f747970657365747465722d636c692f63692e796d6c3f6c6162656c436f6c6f723d65376535653426636f6c6f723d323932353234)

Typesetter
==========

[](#typesetter)

Create ebooks, flyers, one-sheets and more from markdown! This command runs locally using PHP to convert your markdown into a PDF.

Install
-------

[](#install)

This requires PHP 8.1 or above.

This tool is meant to be part of the repository that you have your written content. Because of that, you can install it into the local directory with the following command.

`composer require typesetterio/typesetter-cli`

Usage
-----

[](#usage)

The simplest way to use this would be like this:

`vendor/bin/typesetter generate`

To learn more, please check out the [documentation](https://typesetter.io). This details configuration, customization, themes and cover generation, observers, listeners and more.

Credits
-------

[](#credits)

This was heavily influenced by the [Ibis](https://github.com/themsaid/ibis) project but is a complete rewrite.

This package stands on the shoulders of giants like [MPDF](https://mpdf.github.io/), some parts of [Laravel](https://laravel.com) and also the [League Commonmark](https://commonmark.thephpleague.com/) library.

[Aaron Saray](https://aaronsaray.com) is the primary author and maintainer.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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.

###  Release Activity

Cadence

Every ~163 days

Total

4

Last Release

641d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a9ad2a426eb84bbb6d5fd7f8a9000797796581c2aeda0d27b39391e55c0e7a3?d=identicon)[aaronsaray](/maintainers/aaronsaray)

---

Top Contributors

[![aaronsaray](https://avatars.githubusercontent.com/u/956888?v=4)](https://github.com/aaronsaray "aaronsaray (25 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/typesetterio-typesetter-cli/health.svg)

```
[![Health](https://phpackages.com/badges/typesetterio-typesetter-cli/health.svg)](https://phpackages.com/packages/typesetterio-typesetter-cli)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[pestphp/pest

The elegant PHP Testing Framework.

11.6k72.2M20.7k](/packages/pestphp-pest)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M167](/packages/spatie-laravel-health)[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

10097.5k](/packages/mehrancodes-laravel-harbor)[spatie/laravel-schedule-monitor

Monitor scheduled tasks in a Laravel app

9946.5M17](/packages/spatie-laravel-schedule-monitor)

PHPackages © 2026

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