PHPackages                             prooph/bookdown-template - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. prooph/bookdown-template

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

prooph/bookdown-template
========================

Bookdown.io With Bootswatch Styles And Prism Syntax Highlighting

v0.3.0(8y ago)533.4k↑61.1%20BSD-3-ClausePHP

Since Dec 15Pushed 8y ago3 watchersCompare

[ Source](https://github.com/prooph/bookdown-template)[ Packagist](https://packagist.org/packages/prooph/bookdown-template)[ Docs](http://getprooph.org/)[ RSS](/packages/prooph-bookdown-template/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (20)

Bookdown.io With Bootswatch Styles And Prism Syntax Highlighting
================================================================

[](#bookdownio-with-bootswatch-styles-and-prism-syntax-highlighting)

If you generate your documentation with [bookdown](http://bookdown.io/) and want some nice styles and syntax highlighting for your code blocks, then this package come to the rescue :).

Credits
-------

[](#credits)

This template is based on .

Installation
------------

[](#installation)

Installation of this library uses Composer. For Composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

Put the following into your `composer.json` or run `composer require prooph/bookdown-template`.

```
{
    "require-dev": {
        "prooph/bookdown-template": "^0.2.0"
    }
}

```

Put the following into your `bookdown.json`

```
{
    ...
    "template": "../vendor/prooph/bookdown-template/templates/main.php"
}

```

Styles
------

[](#styles)

Choose your preferred style by setting the `CSS_BOOTSWATCH` and `CSS_PRISM` environment variable before generating the book. The default Bootswatch style is `cerulean` and for Prism `ghcolors`. See the example below how to use another style.

Visit [bootswatch.com](https://bootswatch.com/) to see how the style looks like.

- cerulean
- cosmo
- cyborg
- darkly
- flatly
- journal
- lumen
- paper
- readable
- sandstone
- simplex
- slate
- spacelab
- superhero
- united
- yeti

Visit [prismjs.com](http://prismjs.com/) / [prism-styles](https://github.com/PrismJS/prism-themes) to see how the Prism style looks like.

- prism
- dark
- funky
- okaidia
- twilight
- coy
- atom-dark
- base16-ateliersulphurpool.light
- cb
- ghcolors
- hopscotch
- pojoaque
- xonokai

Top menu logo
-------------

[](#top-menu-logo)

To add an individual logo instead of displaying *Home* you can set the environment variable `MENU_LOGO` which must be an absolute URI to an image.

Further Information
-------------------

[](#further-information)

- [Bookdown](https://github.com/bookdown/Bookdown.Bookdown)
- [Bootswatch](https://bootswatch.com/)
- [PrismJS](http://prismjs.com/)
- [Docker Bookdown image with these templates](https://hub.docker.com/r/sandrokeil/bookdown/)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~50 days

Recently: every ~62 days

Total

6

Last Release

3192d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7341005?v=4)[prooph](/maintainers/prooph)[@prooph](https://github.com/prooph)

---

Top Contributors

[![tobiju](https://avatars.githubusercontent.com/u/14201950?v=4)](https://github.com/tobiju "tobiju (81 commits)")[![sandrokeil](https://avatars.githubusercontent.com/u/3597436?v=4)](https://github.com/sandrokeil "sandrokeil (23 commits)")[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (8 commits)")[![asperling](https://avatars.githubusercontent.com/u/1222589?v=4)](https://github.com/asperling "asperling (7 commits)")

---

Tags

documentationmarkdownsyntaxtemplatesmanualstatic-sitedocshighlightingdocbookbookdown

### Embed Badge

![Health badge](/badges/prooph-bookdown-template/health.svg)

```
[![Health](https://phpackages.com/badges/prooph-bookdown-template/health.svg)](https://phpackages.com/packages/prooph-bookdown-template)
```

###  Alternatives

[tobiju/bookdown-bootswatch-templates

Bookdown.io With Bootswatch Styles And Prism Syntax Highlighting

1619.6k1](/packages/tobiju-bookdown-bootswatch-templates)[bookdown/themes

Bookdown.io With Bootswatch Styles And Prism Syntax Highlighting

1135.7k1](/packages/bookdown-themes)[bookdown/bookdown

Provides DocBook-like rendering of Markdown files.

8257.6k16](/packages/bookdown-bookdown)[justinwalsh/daux.io

Documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly

4.6k38.1k1](/packages/justinwalsh-dauxio)[daux/daux.io

Documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly

825191.0k1](/packages/daux-dauxio)[dniccum/nova-documentation

A Laravel Nova tool that allows you to add markdown-based documentation to your administrator's dashboard.

37116.4k](/packages/dniccum-nova-documentation)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
