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 Less Laravel Package

pug-php/pug-filter-less

A Pug filter for the PHP Pug templating engine that compiles Less stylesheets. Write Less inside your templates with a :less block and get processed CSS at render time, streamlining asset handling for PHP projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature delivery with existing Pug/Jade skills: Lets teams reuse Pug templates and front-end expertise inside Laravel instead of rewriting views in Blade, reducing delivery time for teams already standardized on Pug syntax.
  • Build vs. buy: Avoids building and maintaining a custom Pug-to-PHP compilation layer; the package provides the Laravel integration while pug-php owns template compilation.
  • Dependency and roadmap hygiene: Release 1.1.0 adds compatibility with pug-php 3, which supports decisions to keep the view layer on a current dependency line rather than freezing on an older compiler.
  • Migration sequencing: Useful when migrating legacy Pug/Node-rendered templates or PHP templates into Laravel incrementally, without forcing an immediate Blade conversion.
  • Risk containment: This is an enabling infrastructure package, not a product differentiator. Treat it as a contained dependency decision with clear ownership, version pinning, and upgrade testing.

When to Consider This Package

Consider it when:

  • Your team already has Pug/Jade templates or strong Pug proficiency and wants server-side rendering in Laravel.
  • You need a low-effort Laravel view integration rather than a custom template pipeline.
  • You can accept pug-php as a dependency and validate compatibility with your PHP and Laravel versions.
  • You are willing to pin versions and test view rendering during upgrades, especially around the pug-php 3 transition.

Look elsewhere when:

  • Blade is sufficient and the team has no meaningful Pug investment.
  • You need a strategically supported, first-class Laravel templating ecosystem with broad long-term maintenance guarantees.
  • The pug-php 3 dependency conflicts with your PHP version, deployment constraints, or other packages.
  • You require high-throughput template compilation with predictable long-term vendor support.
  • Your roadmap is moving toward Inertia, Livewire, JSX, or API-first rendering where server-side Pug adds little value.

For 1.1.0 specifically, verify whether your application is on pug-php 2 or 3, run view-rendering regression tests, and confirm that any custom Pug options or extensions still behave as expected.

How to Pitch It (Stakeholders)

For executives: This package is a contained integration that lets us reuse Pug templates and skills in Laravel rather than paying for a rewrite. Release 1.1.0 keeps it compatible with the current pug-php 3 line, which lowers dependency risk and technical debt. It is not a strategic differentiator, so we should adopt it only where we already have a Pug investment and manage it as a routine dependency.

For engineering: The package is a thin Laravel wrapper around pug-php. The 1.1.0 release is primarily a compatibility update for pug-php 3, so the main work is validating version constraints, checking custom Pug configuration, and running view-rendering tests. Pin the package and pug-php versions, document ownership, and include template rendering in upgrade checks.

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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core