PHPackages                             nowise/slimbook - 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. nowise/slimbook

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

nowise/slimbook
===============

Simple XML schema for web page markup and type setting of books.

0.9.4(7y ago)09Apache-2.0PHPPHP &gt;=5.4.0

Since Mar 4Pushed 7y agoCompare

[ Source](https://github.com/nowisesys/slimbook)[ Packagist](https://packagist.org/packages/nowise/slimbook)[ Docs](https://nowise.se/oss/slimbook)[ RSS](/packages/nowise-slimbook/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (6)Used By (0)

Slimbook
========

[](#slimbook)

Simple XML schema for web page markup and type setting of online books/manuals.
-------------------------------------------------------------------------------

[](#simple-xml-schema-for-web-page-markup-and-type-setting-of-online-booksmanuals)

This package provides a simple XML schema targeted at writing technical manuals in either book (multiple chapters) or page (single chapter) form.

The XML schema can be used on its own or together with the PHP classes provided by this package. Using the PHP classes, its possible to render the SlimBook XML document in various formats (e.g. HTML, PDF, DVI, MS Word or LaTeX/TeX).

Integrate handler.php with Apache to provide an XML based web site.

### Directories:

[](#directories)

o) public:

```
This directory contains the XML schema, DTD and some examples. For core users
doing their own formatting, the slimbook.xsd is all you need.

```

o) source:

```
This directory contains the PHP code for rendering SlimBook XML schema
constraint documents in various output formats.

```

### Install:

[](#install)

1. Either install by unpacking the source somewhere outside the web root. You need to require the relevant files in your PHP scripts.
2. Install using composer:

```
bash$> composer require nowise/slimbook
```

This command should take care of deploying slimbook along with its dependencies.

### Setup:

[](#setup)

The SlimBook handler can be integrated with the Apache web server to dynamic render all XML document. Create a config protected file and include in your virtual host definition:

```
bash$> cd $appdir
bash$> cp config/apache.conf.in config/apache.conf
```

Edit apache.conf and include it in your Apache configuration file.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~356 days

Total

5

Last Release

2663d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/051c93d5c76da455715b999de080c10df538ce46843177f3b1779c235fe4aaff?d=identicon)[nowise](/maintainers/nowise)

---

Top Contributors

[![nowisesys](https://avatars.githubusercontent.com/u/35581658?v=4)](https://github.com/nowisesys "nowisesys (41 commits)")

---

Tags

booksmanualsphp-libraryxml-documentschemaxmlDTDuupbmcslimbook

### Embed Badge

![Health badge](/badges/nowise-slimbook/health.svg)

```
[![Health](https://phpackages.com/badges/nowise-slimbook/health.svg)](https://phpackages.com/packages/nowise-slimbook)
```

###  Alternatives

[justinrainbow/json-schema

A library to validate a json schema.

3.6k316.9M612](/packages/justinrainbow-json-schema)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M851](/packages/jms-serializer)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[sabre/xml

sabre/xml is an XML library that you may not hate.

52832.2M131](/packages/sabre-xml)

PHPackages © 2026

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