PHPackages                             dilneiss/php-ebook-generator - 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. dilneiss/php-ebook-generator

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

dilneiss/php-ebook-generator
============================

PHP and Markdown ebook generator.

1.0.1(3y ago)014PHPPHP ^7.0.0|^8.0.0

Since Mar 16Pushed 3y agoCompare

[ Source](https://github.com/dilneiss/php-ebook-generator)[ Packagist](https://packagist.org/packages/dilneiss/php-ebook-generator)[ RSS](/packages/dilneiss-php-ebook-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

PHP Ebook Generator
===================

[](#php-ebook-generator)

PHP Ebook Generator is a PDF book generator which accepts Markdown, currently in development. I've already used it to generate budget proposal and books and it was very functional.

Instalation
-----------

[](#instalation)

To install, [download the zip](https://github.com/erikfig/php-ebook-generator/releases) or use Composer:

```
composer require webdevbr/php-ebook-generator dev-master

```

Use
---

[](#use)

You create the ebook using an entity, configure Dompdf and inject it on the object responsible of generate the PDF, the `make` command finalizes the process.

For example, create a file named example.php and configure as follows:

In this repository has this example ready to execute, just clone (or download) and run `php example.php` in the root of the project.

```
