survos / html-prettify-bundle
format HTML
Package info
github.com/survos/HtmlPrettifyBundle
Type:symfony-bundle
pkg:composer/survos/html-prettify-bundle
Fund package maintenance!
2.0.83
2025-10-27 12:45 UTC
Requires
- php: ^8.4
- gajus/dindent: ^2.0
- symfony/config: ^7.3||^8.0
- symfony/dependency-injection: ^7.3||^8.0
- symfony/http-kernel: ^7.3||^8.0
- symfony/options-resolver: ^7.3||^8.0
- twig/twig: ^3.4
Requires (Dev)
- phpstan/phpstan: ^2.0
- roave/security-advisories: dev-latest
- symfony/browser-kit: ^7.3||^8.0
- symfony/framework-bundle: ^7.3||^8.0
- symfony/phpunit-bridge: ^7.3||^8.0
- symfony/twig-bundle: ^7.3||^8.0
- symfony/var-dumper: ^7.3||^8.0
Conflicts
- survos/api-grid-bundle: <1.2.57
- survos/auth-bundle: <1.2.57
- survos/barcode-bundle: <1.2.57
- survos/bootstrap-bundle: <1.2.57
- survos/command-bundle: <1.2.57
- survos/core-bundle: <1.2.57
- survos/crawler-bundle: <1.2.57
- survos/doc-bundle: <1.2.57
- survos/faker-bundle: <1.2.57
- survos/grid-bundle: <1.2.57
- survos/grid-group-bundle: <1.2.57
- survos/import-bridge: <1.2.57
- survos/inspection-bundle: <1.2.57
- survos/location-bundle: <1.2.57
- survos/maker-bundle: <1.2.57
- survos/providence-bundle: <1.2.57
- survos/ruler-bundle: <1.2.57
- survos/state-bundle: <1.2.57
- survos/stripe-product: <1.2.57
- survos/tree-bundle: <1.2.57
- survos/wiki-bundle: <1.2.57
This package is auto-updated.
Last update: 2026-06-09 12:49:11 UTC
README
Wrap the html-prettify javascript package in a stimulus controller. Also, provide a function for HTML indentation.
composer req survos/html-prettify-bundle
Complete Working Demo (without opening an editor)
symfony new PrettifyDemo --webapp && cd PrettifyDemo composer config repositories.survos_prettify '{"type": "vcs", "url": "git@github.com:survos/HtmlPrettifyBundle.git"}' composer req survos/html-prettify-bundle yarn install --force yarn encore dev bin/console make:controller AppController sed -i "s|/app|/|" src/Controller/AppController.php sed -i "s|<h1|{{ render_hello() }}<h1|" templates/app/index.html.twig symfony server:start