PHPackages                             ghostff/php\_prettify - 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. ghostff/php\_prettify

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

ghostff/php\_prettify
=====================

Creates a syntax highlighted version of the given PHP code.

1352[1 issues](https://github.com/Ghostff/php_prettify/issues)[2 PRs](https://github.com/Ghostff/php_prettify/pulls)HTML

Since Aug 1Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Ghostff/php_prettify)[ Packagist](https://packagist.org/packages/ghostff/php_prettify)[ RSS](/packages/ghostff-php-prettify/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

PHP Prettify
============

[](#php-prettify)

Creates a syntax highlighted version of the given PHP code.

```
# PHP 8
composer require ghostff/php_prettify

# Older PHP version
composer require ghostff/php_prettify:5.4.093021
composer require ghostff/php_prettify:7.0.093021
```

```
