PHPackages                             phpdocumentor/guides-code - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpdocumentor/guides-code

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpdocumentor/guides-code
=========================

A library to provide code-related functionality to phpDocumentor's Guides

1.9.6(2mo ago)04.2k↑50%MITPHPPHP ^8.1

Since Jan 14Pushed 2mo agoCompare

[ Source](https://github.com/phpDocumentor/guides-code)[ Packagist](https://packagist.org/packages/phpdocumentor/guides-code)[ Docs](https://www.phpdoc.org)[ RSS](/packages/phpdocumentor-guides-code/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (10)Used By (0)

[![PHP Version Require](https://camo.githubusercontent.com/7600fc7d6a6be44a969d1436a6588b14027bcd7395c715ca1b25491a5ae24e62/68747470733a2f2f706f7365722e707567782e6f72672f706870646f63756d656e746f722f6775696465732d636f64652f726571756972652f706870)](https://packagist.org/packages/phpdocumentor/guides-code)[![Latest Stable Version](https://camo.githubusercontent.com/b022eed1aa6bf2ceaa5b52560476b62d7199166064c36886860204d7ca7c81f5/68747470733a2f2f706f7365722e707567782e6f72672f706870646f63756d656e746f722f6775696465732d636f64652f762f737461626c65)](https://packagist.org/packages/phpdocumentor/guides-code)[![Latest Unstable Version](https://camo.githubusercontent.com/6a0993160a0d0d250fa871d572feac3d6dc62266fa2e5209369d83371165b4a7/68747470733a2f2f706f7365722e707567782e6f72672f706870646f63756d656e746f722f6775696465732d636f64652f762f756e737461626c65)](https://packagist.org/packages/phpdocumentor/guides-code)[![Total Downloads](https://camo.githubusercontent.com/8535d1777a6458be5e5560e376bfc56e7a08e1a6eeab4193c820f8ea96889314/68747470733a2f2f706f7365722e707567782e6f72672f706870646f63756d656e746f722f6775696465732d636f64652f642f746f74616c)](https://packagist.org/packages/phpdocumentor/guides-code)[![Monthly Downloads](https://camo.githubusercontent.com/49b0dbdba7a8f366c18a2bae0a38c8a149511dd470f15963cb79982653ae6fbf/68747470733a2f2f706f7365722e707567782e6f72672f706870646f63756d656e746f722f6775696465732d636f64652f642f6d6f6e74686c79)](https://packagist.org/packages/phpdocumentor/guides-code)phpDocumentor Guides
--------------------

[](#phpdocumentor-guides)

This repository is part of [phpDocumentor's Guides library](https://github.com/phpDocumentor/guides), a framework designed to take hand-written documentation in code repositories and create an AST (abstract syntax tree) from it. This AST is then fed to a renderer, which produces the desired output, such as HTML.

The package [phpdocumentor/guides-code](https://packagist.org/packages/phpdocumentor/guides-code) provides support for syntax highlighting, and a multi-language code block, allowing you to show equivalent code in multiple languages.

Mono-Repository:Documentation:Packagist:Contribution:

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance84

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~96 days

Recently: every ~180 days

Total

9

Last Release

84d ago

Major Versions

0.3.7 → 1.0.0-rc2024-03-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/471baf346b526fa9e1259ee3d577b1dd72fbb45337b495d5475f87ba063490cb?d=identicon)[jaapio](/maintainers/jaapio)

---

Top Contributors

[![jaapio](https://avatars.githubusercontent.com/u/1060433?v=4)](https://github.com/jaapio "jaapio (9 commits)")[![wouterj](https://avatars.githubusercontent.com/u/749025?v=4)](https://github.com/wouterj "wouterj (4 commits)")[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (1 commits)")[![linawolf](https://avatars.githubusercontent.com/u/48202465?v=4)](https://github.com/linawolf "linawolf (1 commits)")

### Embed Badge

![Health badge](/badges/phpdocumentor-guides-code/health.svg)

```
[![Health](https://phpackages.com/badges/phpdocumentor-guides-code/health.svg)](https://phpackages.com/packages/phpdocumentor-guides-code)
```

###  Alternatives

[spatie/commonmark-highlighter

Highlight your markdown code blocks with league/commonmark

138400.5k19](/packages/spatie-commonmark-highlighter)[spatie/laravel-mailcoach-editor

An Editor editor package for Mailcoach

11247.6k1](/packages/spatie-laravel-mailcoach-editor)[loilo/lowlight

Show syntax-highlighted code of 150+ languages in your terminal

201.6k1](/packages/loilo-lowlight)

PHPackages © 2026

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