typesetterio/typesetter-cli

Create PDFs from markdown with PHP.

Fund package maintenance!
aaronsaray

Installs: 31

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 1

Forks: 0

Open Issues: 2

Type:project

0.4.0 2024-10-01 22:32 UTC

This package is auto-updated.

Last update: 2024-12-02 17:38:26 UTC


README

License Packagist GitHub Workflow Status

Typesetter

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

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

The simplest way to use this would be like this:

vendor/bin/typesetter generate

To learn more, please check out the documentation. This details configuration, customization, themes and cover generation, observers, listeners and more.

Credits

This was heavily influenced by the Ibis project but is a complete rewrite.

This package stands on the shoulders of giants like MPDF, some parts of Laravel and also the League Commonmark library.

Aaron Saray is the primary author and maintainer.