typesetterio / typesetter-cli
Create PDFs from markdown with PHP.
Fund package maintenance!
aaronsaray
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 0
Open Issues: 2
Type:project
Requires
- php: ^8.1
- laravel-zero/framework: ^10.0.2
- nunomaduro/termwind: ^1.15.1
- typesetterio/typesetter: ^0.9
Requires (Dev)
- nunomaduro/larastan: ^2.6
- orchestra/testbench: ^8.5
- phpunit/phpunit: ^10.1
- roave/security-advisories: dev-latest
- slevomat/coding-standard: ^8.12
- squizlabs/php_codesniffer: ^3.7
README
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.