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

Lexer Laravel Package

phug/lexer

A fast, extensible PHP lexer for Pug (Jade) templates and the Phug ecosystem. It converts template source into structured tokens for parsing, supporting indentation, tags, attributes, interpolation, code, and comments with configurable scanners.

View on GitHub
Deep Wiki
Context7

phug/lexer is a PHP lexer for Pug templates in the Phug ecosystem. It converts template source into a token stream—handling indentation, tags, attributes, text, and interpolation—so downstream parsers can build an AST.

  • Indentation-aware tokenization for Pug’s significant whitespace
  • Support for tags, attributes, text blocks, and interpolation
  • Extensible scanner and token handlers for custom syntax
  • Built to integrate with phug/parser and the Phug toolchain
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