Artwork by Eric L. Barnes and Caneco from Laravel News ❤️.
--- This PHP tool helps you write eBooks in markdown. Run `ibis build` and an eBook will be generated with: 1. A cover photo. 2. Clickable auto-generated table of contents. 3. Code syntax highlighting. 4. Available in 2 themes. Light and dark. Ibis was used to create [Laravel Queues in Action](https://learn-laravel-queues.com), an eBook I published in August 2020. [Click here](https://learn-laravel-queues.com/laravel-queues-in-action/laravel-queues-in-action.zip) for the sample. ## Installation Make sure you have PHP7.3 or above installed on your system and that your gd extension is enabled in your php.ini file. First, install the composer package globally: ``` composer global require themsaid/ibis ``` Then, run this command inside an empty directory: ``` ibis init ``` This will create the following files and directories: - /assets - /assets/fonts - /assets/cover.jpg - /assets/theme-light.html - /assets/theme-dark.html - /content - /ibis.php You may configure your book by editing the `/ibis.php` configuration file. ## Writing Your eBook The `init` command will create sample .md files inside the content folder. You can explore those files to see how you can write your book. This sample content is taken from [Laravel Queues in Action](https://learn-laravel-queues.com). Inside the content directory, you can write multiple `.md` files. Ibis uses the headings to divide the book into parts and chapters: ``` # Part 1