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
Bootstrap Bundle

Bootstrap Bundle Laravel Package

mazarini/bootstrap-bundle

A Laravel package that bundles Bootstrap assets and helpers, providing a quick way to include Bootstrap CSS and JavaScript in your applications with sensible defaults, simple configuration, and minimal setup. Ideal for projects that want Bootstrap ready out of the box.

View on GitHub
Deep Wiki
Context7

A set of template for twig using bootstrap

Frequently asked questions about Bootstrap Bundle
Is mazarini/bootstrap-bundle a Laravel package or a Symfony bundle?
It is a Symfony bundle, despite being described as Laravel-friendly. It ships Twig templates pre-styled with Bootstrap markup and has no Laravel service provider, no Blade directive support, and no package discovery path Laravel would honor. Treat it as a design asset source you may read or vendor, not a dependency you install.
Can I install it in a Laravel app with composer require?
Composer requiring it into a Laravel application is not recommended. The package pulls Twig and Symfony runtime expectations that Laravel does not satisfy, so its provider will not be auto-discovered in any useful way. The predictable outcomes are dependency conflicts and dead code rather than working components.
Which Bootstrap version does the markup target?
The templates appear written against Bootstrap 4 conventions such as data-toggle rather than Bootstrap 5's data-bs-toggle. Nothing in the repository warns you if your asset pipeline ships Bootstrap 5, so components will silently misbehave. Audit the markup and pin your Bootstrap major version before reusing anything.
How do I convert the Twig templates into Blade components?
Copy only the templates you need into resources/views, rewrite Twig syntax as Blade, and replace Symfony helpers with Laravel equivalents. path() and asset() become route() and @vite or asset(), while form_row() and form_errors() become Blade components and @error directives. Land the result as components like x-form.input and x-alert instead of raw partials.
Does the bundle ship Bootstrap CSS and JS, or link a CDN?
The repository does not make this obvious, so treat asset handling as an audit item. In a Laravel app you should not rely on this bundle for Bootstrap CSS or JS at all, because twbs/bootstrap via npm and Vite gives you version control and a clear CSP story. Bundled or CDN-referenced assets are a supply-chain and Content Security Policy concern.
What Laravel and PHP versions are supported?
There are no Laravel version constraints because it is not a Laravel package. Check composer.json for the pinned PHP, Twig, and Symfony constraints, since those are what will actually conflict with your runtime. A modern Laravel project on PHP 8.2+ is unlikely to line up cleanly with an unmaintained Symfony bundle.
Is the package actively maintained and safe for production?
Adoption signals are effectively zero: no stars, no dependents, a single maintainer, no visible CI, no tagged release cadence, and no security advisory coverage. That means no upstream fixes and no CVE response path. For production you should vendor and own the markup rather than depend on the package.
What license does it use, and is LGPL-3.0 safe for commercial use?
It is licensed LGPL-3.0. Server-rendered internal or SaaS use is generally fine, but modifying the bundle's own source can trigger source-disclosure obligations if you distribute the artifact or ship on-prem. That is a legal-review decision you should document once rather than re-litigate per project.
How much effort is it to port the useful templates into my app?
Expect roughly one to three days for a competent mid-level engineer to reproduce the useful 80 percent. The real cost depends on how tightly the Twig files couple to Symfony helpers; pure markup ports quickly, helper-heavy templates do not. Use that estimate to anchor any build-versus-buy conversation.
Are there Laravel-native alternatives for Bootstrap Blade components?
Yes. Building your own Blade components over Bootstrap 5 loaded through Vite is usually faster than porting Twig, and community Blade UI kits cover alerts, modals, buttons, and forms. If you want the markup inspiration, read these templates, then write Laravel-native components your team owns.
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.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect