phpdocumentor / guides-code
A library to provide code-related functionality to phpDocumentor's Guides
1.9.6
2026-02-23 19:56 UTC
Requires
- php: ^8.1
- scrivo/highlight.php: ^9.18.1.10
README
phpDocumentor Guides
This repository is part of phpDocumentor's Guides library, 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 provides support for syntax highlighting, and a multi-language code block, allowing you to show equivalent code in multiple languages.
| Mono-Repository: | https://github.com/phpDocumentor/guides |
|---|---|
| Documentation: | https://docs.phpdoc.org/components/guides/guides/index.html |
| Packagist: | https://packagist.org/packages/phpdocumentor/guides-code |
| Contribution: | https://github.com/phpDocumentor/guides/tree/main/CONTRIBUTING.rst |