jield-webdev / laminas-bootstrap5
Laminas Module that provides helper functions for Bootstrap 5
Installs: 18 104
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- jield-webdev/jield-search: dev-main
- jield-webdev/laminas-assetmanager: ^3.0
- laminas/laminas-form: ^3.16
- laminas/laminas-i18n: ^2.25
- laminas/laminas-modulemanager: ^2.16
- laminas/laminas-navigation: ^2.20
- laminas/laminas-servicemanager: ^3.23
- laminas/laminas-view: ^2.33
Requires (Dev)
- iteaoffice/testing: ^4.1-dev
This package is auto-updated.
Last update: 2024-11-21 14:48:06 UTC
README
Repository to use Bootstrap 5 code in Laminas Framework (based on zfc-twitter-bootstrap)
Installation
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: ```php return [ 'laminas-bootstrap5' => [ 'inject_jquery' => false, 'inject_jquery_ui' => false, 'inject_bootstrap_js' => false, ], ];