typesetterio/typesetter-cli

Create PDFs from markdown with PHP.

Fund package maintenance!
aaronsaray

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 0

Open Issues: 1

Type:project

0.2.0 2023-07-01 17:37 UTC

This package is auto-updated.

Last update: 2024-05-04 20:34:15 UTC


README

logo.png

License Packagist Downloads 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.