Skip to main content

Introduction

DocbookCS scans DocBook 5 XML sources and reports style and convention violations, helping keep large documentation trees consistent across many contributors.

Built for the PHP manual

DocbookCS was built for the PHP manual and works well with any large, multi-contributor DocBook project.

Quick install

composer require --dev jordikroon/docbook-cs

Why?

In projects like the PHP manual, DocBook sources accumulate style drift over time: inconsistent attribute ordering, misuse of <simpara>, exception names that don't match conventions. DocbookCS catches these automatically in CI.

Next steps