phpdocumentor / guides-code
A library to provide code-related functionality to phpDocumentor's Guides
1.11.0
2026-08-28 21:29 UTC
Requires
- php: ^8.1
- psr/log: ^1.0 || ^2.0 || ^3.0
- scrivo/highlight.php: ^9.18.1.10
- twig/twig: ~2.15 || ^3.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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 |