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

Pug Filter React Laravel Package

pug-php/pug-filter-react

A Pug filter for the pug-php templating engine that lets you embed React JSX directly inside Pug templates. It compiles components and renders them to HTML server-side, letting PHP projects combine Pug markup with React UI in one streamlined workflow.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Template-engine choice / feature delivery: This package lets Laravel views be authored in Pug rather than Blade. That supports decisions about how quickly teams with existing Pug/Jade skills or templates can ship Laravel features without rewriting views.
  • Build vs. buy: If the product needs Pug support in Laravel, adopting this package is likely cheaper than building and maintaining a compiler bridge between Laravel’s view layer and Pug-php.
  • Migration and reuse: Useful when migrating templates from a Node/Express/Pug stack into Laravel, or when a design system already publishes Pug templates.
  • Roadmap risk management: Release 1.1.0 adds Pug-php 3 compatibility. This is primarily a maintenance/compatibility release, not a new product capability. It reduces dependency-upgrade risk and signals the package is still being maintained against a current Pug-php line.
  • Adoption gate: Before committing roadmap work to Pug, confirm whether 1.1.0 supports both Pug-php 2 and 3 or requires Pug-php 3. If it requires v3, teams pinned to Pug-php 2 should treat the upgrade as potentially breaking and plan a compatibility test.

When to Consider This Package

Consider it when:

  • The team has meaningful Pug/Jade expertise or an existing library of Pug templates.
  • The product is migrating to Laravel from a Pug-based stack and a full Blade rewrite would add schedule risk.
  • A design system or shared template library already standardizes on Pug.
  • The application can accept a less common Laravel view-engine choice and the team is prepared to own that dependency risk.
  • The project is on, or can move to, Pug-php 3; validate composer constraints and run the view test suite after upgrading to 1.1.0.

Look elsewhere when:

  • The team is Blade-first, or the product depends heavily on Laravel ecosystem conventions such as Blade components, Livewire, or Inertia. Blade is the lower-friction default.
  • The product needs a large hiring pool or long-term vendor support; Pug in Laravel is a niche choice.
  • The package’s maintenance cadence, issue responsiveness, or Laravel/PHP version support is unclear after reviewing the repository.
  • Pug-php 3 conflicts with other dependencies, or the application cannot absorb a template-engine compatibility upgrade.
  • The only goal is cleaner templating; Blade components and layout features may already cover the need without adding a second template language.

How to Pitch It (Stakeholders)

For executives: This is a small, low-cost integration that lets Laravel use Pug templates. The new 1.1.0 release adds compatibility with Pug-php 3, which lowers upgrade risk and extends the package’s useful life. It is most valuable if we already have Pug templates or Pug-skilled engineers; otherwise Blade remains the safer default.

For engineering: Release 1.1.0 is a compatibility update for Pug-php 3, not a feature release. Before adoption or upgrade, verify composer version constraints, confirm whether Pug-php 2 remains supported, and run view-rendering and integration tests. Treat it as a maintenance release: low expected API surface change, but dependency compatibility is the key risk to validate.

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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core