easybook
«book publishing as easy as it should be»
easybook lets you easily publish books in various electronic formats (PDF, ePub and HTML). It was originally designed to publish technical programming books, but you can use easyboook to publish any kind of book, manual or documentation website.
Installation
easybook can be installed in three different ways depending upon your needs:
- ZIP installation: best suited for users who want to try easybook features as fast and easy as possible.
- Composer installation: recommended for regular users who want to use easybook for publishing books and documentation.
- Git installation: reserved for advanced developers who want to hack and modify easybook.
Regardless the way you install it, 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.
1. ZIP installation
- Download easybook.zip file.
- Uncompress
easybook.zip
file in any directory.
2. Composer installation
Execute the following command to install easybook and all its dependencies in 'easybook' directory:
$ php composer.phar create-project easybook/easybook easybook
This method requires that Composer is previously installed on your system. You can install it simply by executing the following command:
$ curl -s http://getcomposer.org/installer | php
3. Git installation
// clone easybook repository
$ mkdir easybook
$ git clone http://github.com/javiereguiluz/easybook.git easybook
// download vendors and dependencies
$ cd easybook
$ php composer.phar install
This method requires that Composer is previously installed on your system. You can install it simply by executing the following command:
$ curl -s http://getcomposer.org/installer | php
Documentation
easybook is fully documented at http://easybook-project.org/documentation
License
easybook is licensed under the MIT license.
Tests
Execute the following command to test easybook (requires PHPUnit):
$ cd easybook
$ 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:
http://www.princexml.com/download