phug/reader
Phug Reader is a PHP library for reading Pug templates and turning them into a structured syntax tree. It serves as the parsing foundation for the Phug template engine, enabling developers to inspect, transform, and compile Pug source reliably in PHP applications.
phug/reader is a niche Pug/Jade parsing/reading component in the Phug ecosystem, not a Laravel-native view engine. It fits only where Pug syntax or legacy Pug template migration is a real requirement; it should sit behind an adapter and not replace Blade as the default rendering path.phug/reader render templates alone, or does it require other Phug packages? Which PHP and Laravel versions are supported? What is the caching and escaping model? Are there security considerations around unescaped output, includes, and user-supplied templates? Who maintains it, and what is the fallback if upstream stalls?phug/reader only as an opt-in path for teams that specifically need Pug syntax, legacy Pug imports, or a contained template-conversion workflow.How can I help you explore Laravel packages today?