Skip to content

Book publishing as easy as it should be (built with Symfony components)

License

Notifications You must be signed in to change notification settings

javiereguiluz/easybook

Repository files navigation

easybook

«book publishing as easy as it should be»

SensioLabsInsight Travis CI status Scrutinizer Quality Score Coverage Status

easybook lets you easily publish books in various electronic formats (ePub, MOBI, PDF and HTML). It was originally designed to publish programming books, but you can use easybook to publish any kind of book, manual or documentation website.

easybook worflow diagram

Installation

Make sure to have installed Composer globally in your system and execute the following command:

$ composer create-project easybook/easybook easybook

Once installed, use easybook with the book command:

$ cd <easybook-installation-dir>
$ ./book

If the last command doesn't work, try php book or check book script permissions.

Documentation

easybook is fully documented at https://easybook-project.org/documentation

License

easybook is licensed under the MIT license.

Tests

Execute the following command to test easybook (it requires PHPUnit):

$ cd <easybook-installation-dir>
$ phpunit

Requirements

In order to generate PDF files, PrinceXML library must be installed. If you haven't installed it yet, you can download a fully-functional demo at:

https://www.princexml.com/download

In order to generate MOBI files, KindleGen library must be installed. If you haven't installed it yet, you can download it freely at Amazon:

https://amzn.to/kindlegen