Weave Code
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

Blade Parser Laravel Package

stillat/blade-parser

Parse, analyze, and transform Laravel Blade templates with a robust PHP parser. stillat/blade-parser provides an AST, tokenization, and utilities to inspect directives, components, and expressions—ideal for linters, formatters, editors, and automated refactoring tools.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables building custom Blade-specific tooling (linters, formatters) without reinventing parsing logic, accelerating development of internal quality assurance tools.
  • Supports roadmap initiatives for developer productivity by integrating static analysis into CI/CD pipelines or IDEs, reducing manual code reviews.
  • Avoids "build vs buy" dilemma by providing a mature, MIT-licensed foundation for Blade template analysis, reducing engineering effort compared to custom solutions.
  • Critical for projects requiring safe template refactoring (e.g., migrating legacy Blade syntax) or enforcing consistent coding standards across teams.

When to Consider This Package

  • Adopt when your team needs to analyze or transform Blade templates programmatically (e.g., custom linters, IDE plugins, automated refactoring).
  • Ideal for scenarios requiring syntax-aware inspection without execution (e.g., security scanning for unsafe Blade directives, style enforcement).
  • Avoid if your use case requires executing Blade templates (e.g., runtime rendering), as this package is purely for static analysis. Also consider alternatives if you need deeper Laravel framework integration beyond template parsing.

How to Pitch It (Stakeholders)

"This package accelerates the development of Blade-specific tooling (linters, formatters, IDE integrations) by providing a safe

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport