Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Formatter Laravel Package

phug/formatter

A formatting extension for Phug, the PHP Pug template engine. It pretty-prints and normalizes Pug source with configurable options, helping keep templates readable and consistent in Laravel and PHP projects.

View on GitHub
Deep Wiki
Context7

phug/formatter is the output-generation stage of the Phug template engine: it takes the AST built by phug/parser and turns it into final HTML or PHP code. It sits between parsing and rendering, so the same tree can be emitted for production or pretty-printed for debugging.

The component is framework-agnostic and extensible — custom formatters and extensions can hook into the formatting process, while configuration options control indentation and pretty-print output.

  • Converts Pug AST into HTML or PHP
  • Pretty-printing with configurable indentation
  • Extension hooks for custom formatting
  • Framework-agnostic, PSR-4 autoloaded
  • Integrates with the wider Phug ecosystem
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle