Laminas Module that provides helper functions for Bootstrap 5

dev-main 2023-11-18 13:08 UTC

This package is auto-updated.

Last update: 2024-07-04 10:04:48 UTC



Repository to use Bootstrap 5 code in Laminas Framework (based on zfc-twitter-bootstrap)


Create a writeable directory assets in your project public folder (for example public/assets).

## Forced injection of Bootstrap JS, Jquery and Jquery UI

This module default injects the latest versions of Bootstrap JS (including Popper), Jquery and JqueryUI as these
libraries are required for the JS in this module.
If for some reason you want to use your own versions of these libraries, you can disable the injection of these
libraries by setting the following config in your application config:

return [
    'laminas-bootstrap5'         => [
        'inject_jquery'    => false,
        'inject_jquery_ui' => false,
        'inject_bootstrap_js' => false,