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

Assets Extra Bundle Laravel Package

checkdomain/assets-extra-bundle

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Legacy Symfony 2 Asset Management Overhaul: Justify migrating or refactoring outdated asset pipelines (e.g., hardcoded paths, manual concatenation) to a more maintainable, logical-naming system—reducing technical debt in monolithic Symfony 2 apps.
  • Roadmap for Symfony 3+ Migration: Use this as a stopgap to adopt modern asset workflows (e.g., Webpack Encore) while incrementally modernizing legacy Symfony 2 codebases.
  • Build vs. Buy for Asset Optimization: Avoid reinventing Assetic/CssRewrite fixes or logical file name support; leverage this bundle to accelerate feature delivery (e.g., dynamic CSS/JS paths, LessPHP compilation).
  • Use Cases:
    • Multi-bundle projects: Centralize asset paths (e.g., bundles/foo/css/style.css → assets/app.css) to simplify deployments.
    • Dynamic theming: Enable runtime asset switching via logical names (e.g., {{ asset('theme/{{ theme_name }}/style.css') }}).
    • Bugfix backports: Resolve critical Assetic/CssRewrite issues without forking core libraries.

When to Consider This Package

  • Avoid if:
    • Using Symfony 3+: Modern alternatives (e.g., Webpack Encore, Vite) are superior for asset management.
    • No legacy Symfony 2: New projects should skip this and adopt contemporary stacks.
    • Active Assetic maintenance: If upstream fixes resolve your issues, this bundle’s age (last release: 2013) may introduce compatibility risks.
    • Need for advanced features: Lacks modern tooling (e.g., Hot Module Replacement, source maps) or Symfony Flex support.
  • Look elsewhere for:

How to Pitch It (Stakeholders)

Executives: "This bundle lets us modernize our Symfony 2 asset workflows—centralizing paths, fixing critical CSS/JS bugs, and enabling dynamic theming—without rewriting the entire pipeline. It’s a low-risk way to reduce technical debt in legacy apps while we plan a phased migration to Symfony 3+. The MIT license and zero dependents mean minimal vendor lock-in."

Engineering: *"For Symfony 2 teams stuck with manual asset concatenation or broken Assetic paths, this bundle provides:

  • Logical file names: Clean URLs like /assets/app.css instead of /bundles/foo/bar.css.
  • Assetic fixes: Resolves the CssRewriteFilter bug and extends LessPHP support.
  • Quick integration: 3-step setup (Composer + Kernel registration) with no breaking changes. Tradeoff: Last updated in 2013, so test thoroughly. Prioritize for projects where asset refactoring is a blocker for other work (e.g., theming, performance).*"

Developers: *"If you’re tired of hardcoding {% block stylesheets %} paths or debugging Assetic’s CssRewriteFilter, this bundle:

  1. Encrypts bundle names in asset paths (security/obfuscation).
  2. Moves assets out of bundles/ to a custom directory (cleaner structure).
  3. Fixes a 10-year-old Assetic bug that breaks CSS paths in production. Downside: No Symfony 3+ support, but it’s a lifesaver for legacy apps. Pair with a migration plan to Symfony 4/5."*
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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource