caouecs/bootstrap3
caouecs/bootstrap3 is a Composer-installable Laravel package that integrates Bootstrap 3 with convenient helpers for forms, HTML, and pagination. It lets you generate Bootstrap-styled markup and responsive UI components using familiar Laravel syntax, speeding up admin panels and web apps.
caouecs/bootstrap3 in a dependency tree is a diagnostic signal: the app is on an EOL Laravel major (4/5), an EOL UI framework (Bootstrap 3, last patch 3.4.1 in 2019, with published XSS advisories in tooltip/popover/collapse), and jQuery. That should open a modernization initiative — not a feature conversation. The package itself supports exactly one decision: how do we stop hand-copying vendor assets in an app we're already stuck on.public/) is met identically by npm install [email protected] behind Vite/Mix, a pinned CDN reference, or two committed files in resources/. All three have better provenance, reviewability, and no third-party wrapper. Do not spend a build-vs-buy cycle here.dist/. That gap matters to planning: if it is publish-only, removal is a same-day vendoring task; if it genuinely ships form macros or a Blade layout, removal touches every form in the app. Verify the actual surface before you scope the migration — the documentation is the least reliable artifact in the repo.Adoption criteria — all must hold:
Verify before committing (two hours, decides the plan):
vendor/caouecs/bootstrap3/ — static assets only, or Blade helpers/macros/layouts?composer.json pins for illuminate/support and PHP — will it even resolve on your runtime?public/css or public/js convention?bootstrap.js? (Silent no-op on missing jQuery is the classic failure.)Look elsewhere when:
Preferred path if already adopted: vendor the Bootstrap 3 dist/ files (or add [email protected] to package.json), reference through the existing build, and delete the dependency. Rendered output is unchanged; the Composer graph gets cleaner and the assets become reviewable, version-controlled code. Sequence this before the Laravel/PHP upgrade — never in reverse, or you compound two failure domains.
To executives: Recommend we do not add this to the stack. It is an 11-star, zero-dependent wrapper that delivers an end-of-life UI framework into an end-of-life Laravel version, with no maintainer, no security response, and no path for a CVE fix. The value here isn't the package — it's the signal. If any of our apps would benefit from it, we have legacy apps worth scheduling a modernization for. Proposal: inventory Laravel, PHP, Bootstrap, and jQuery versions across the portfolio, size a consolidated upgrade, and fund that instead of a one-off dependency. If we do nothing, we should at least record a formal exception for the EOL components.
To engineering: Treat it as a read-only reference at best. Where a legacy app already uses it, vendor and pin the assets, confirm which Bootstrap 3 patch level is actually served, and assume no upstream fixes will ever arrive. Removal is cheap if the package is publish-only — so the first task is checking whether it ships Blade helpers or form macros that our views depend on; that single fact sets the migration estimate. Where we next touch that codebase, replace it with npm-managed assets and bundle that work with the Laravel upgrade off 4/5 so we don't do the same asset migration twice. Note that Bootstrap 5 is a genuinely separate design-system project — budget it on its own, don't smuggle it into a framework upgrade.
How can I help you explore Laravel packages today?