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

Jquery Bundle Laravel Package

evheniy/jquery-bundle

Symfony2 bundle that provides jQuery from Google CDN or a local path, with configurable version, CDN domain, HTML5/legacy script tags, and async loading. Install via Composer and register JqueryBundle in AppKernel.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for static asset delivery: This is the clearest "build" call in the assessment. The package's entire value is registering a <script src="https://ajax.googleapis.com/ajax/libs/jquery/{version}/jquery.min.js"> tag from a YAML-configured version string. That is a handful of lines in a base Twig template, a Webpack Encore entry, or a Symfony AssetMapper import. There is no logic, no API, no abstraction worth paying a dependency-management tax for.
  • Framework/runtime targeting: This is a Symfony 2 bundle, not a Laravel or framework-agnostic PHP package. Symfony 2 reached end-of-life in 2019. If the roadmap includes any Laravel work, or any Symfony upgrade past 2.x, this package is a non-starter regardless of quality.
  • Legacy maintenance triage: The only defensible use case is an existing Symfony 2.x application already depending on it, where replacing it is out of scope for the current cycle. In that case the decision is "freeze and isolate," not "expand usage."
  • Front-end dependency strategy: Adopting this would signal that jQuery is being sourced at runtime from a third-party CDN rather than through the build pipeline. That runs against modern practice (lockfiles, subresource integrity, reproducible builds, CSP-friendly self-hosting) and should be an explicit, documented exception if chosen — not a default.
  • Roadmap signal: Zero dependents and a last release in June 2016 mean no ecosystem pressure to maintain it. Do not plan work, features, or integrations that assume this package will receive jQuery or Symfony compatibility updates.

When to Consider This Package

Consider it only when all of the following hold:

  • The application is on Symfony 2.x and cannot be upgraded within the planning horizon.
  • The bundle is already installed and working — you are evaluating retention, not adoption.
  • You need only "load a specific jQuery version from Google's CDN," with no plugin management, no SRI, and no offline/air-gapped requirement.
  • You have no asset pipeline (Webpack Encore, AssetMapper, gulp, Vite) and no appetite to add one for a single script tag.

Look elsewhere — or build inline — if any of these are true:

  • Any modern Symfony (4/5/6/7), Laravel, or non-Symfony PHP project. The bundle's service provider and DI extension conventions will not work.
  • You need supply-chain guarantees: no subresource integrity hashes, no lockfile, no self-hosted fallback. Google CDN availability and CSP allowances become your problem.
  • You need jQuery plugins or a curated dependency set. This package does one thing; it will not manage a plugin graph.
  • You are on a supported-version policy. An unmaintained dependency from 2016 with a low activity/quality score and no dependent packages is a standing audit finding.
  • You want a maintained baseline. Symfony's own asset tooling, or simply committing a pinned jquery.min.js, covers this with fewer moving parts and no third-party maintenance risk.

Practically: the sensible alternative is to vendor a pinned jQuery file or use your framework's asset pipeline. Migrating off this bundle is a small, bounded task — a good candidate for a cleanup ticket rather than a roadmap item.

How to Pitch It (Stakeholders)

For executives (one paragraph): This package is a thin configuration wrapper that adds a jQuery <script> tag pointing at Google's CDN. It is a Symfony 2 component — not Laravel — with three GitHub stars, no dependent packages, and no release since 2016, and the Symfony version it targets has been end-of-life for years. Adopting it adds a third-party dependency, an external CDN dependency, and an unmaintained-code finding to our audit, in exchange for functionality we can reproduce in a few lines. Recommendation: do not adopt; replace with a pinned, self-hosted jQuery asset or an entry in our existing build pipeline.

For engineering (the ask): Treat this as a "no" on new usage and a "cleanup" on existing usage. The replacement is trivial — one static file plus a template include, or one line in the asset pipeline — and it removes a runtime CDN call, lets us pin the version in source control, and enables subresource integrity and a stricter Content-Security-Policy. Estimated effort is well under a day per application, with no functional change expected. The main risk is discovering implicit reliance on the CDN-loaded version elsewhere; a quick grep for jquery in templates and a smoke test of the JS-dependent pages will confirm scope.

Framing to avoid: do not present this as "the package is bad." Present it as over-engineered for the problem it solves and abandoned at the same time — the cost is not code quality, it is ownership. Nobody is on the hook for updating this when jQuery or a browser changes, so we would be.

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.
unabomber/timezone
delatbabel/contacts
astritzeqiri/g-recaptcha
kevinongko/laravel-genode
developeruz/laravel-analytics
robbiep/afterthedeadline
frankkessler/incontact-laravel-oauth2-rest
jlxh/laravel-userlog
davidmgilo/timetables
qylinfly/role-permission
reflect-digital/conduit
takashato/laravel-vietqr
aitor24/laralang
kraenzle-ritter/entity-relations
dindigital/din-image
pomirleanu/image-colors
sawmainek/laravel-api-generator
delatbabel/jsonresponses
mouhamedfd/permissions-generator
eduplus/qr