PHPackages                             tombroucke/otomaties-bootstrap-popup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tombroucke/otomaties-bootstrap-popup

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

tombroucke/otomaties-bootstrap-popup
====================================

2.7.0(9mo ago)01.6k[9 PRs](https://github.com/tombroucke/otomaties-bootstrap-popup/pulls)PHPPHP ^8.0

Since Jan 26Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/tombroucke/otomaties-bootstrap-popup)[ Packagist](https://packagist.org/packages/tombroucke/otomaties-bootstrap-popup)[ Docs](https://github.com/tombroucke/otomaties-bootstrap-popup)[ RSS](/packages/tombroucke-otomaties-bootstrap-popup/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (7)Versions (43)Used By (0)

Otomaties Bootstrap Popup
=========================

[](#otomaties-bootstrap-popup)

Load Bootstrap JS from theme or other plugin
--------------------------------------------

[](#load-bootstrap-js-from-theme-or-other-plugin)

If you're loading bootstrap JS in your theme or another plugin, there's no need to load it twice. Loading it twice leads to slower loading times and could cause conflicts.

Make sure otomaties-bootstrap-popup is loaded first

```
$dependencies = wp_script_is('otomaties-bootstrap-popup', 'enqueued') ? ['otomaties-bootstrap-popup'] : [];
bundle('app')->enqueueCss()->enqueueJs(true, $dependencies);
```

`wp_enqueue_scripts` priority should be &gt; 999

Load javascript without bootstrap

```
add_filter('otomaties_bootstrap_popup_load_bootstrap', fn() => false);
```

Pass modal component through a custom BootstrapLoaded event

```
import { Modal } from 'bootstrap';

const bootstrapComponents = {
    modal: Modal, // `bootstrap.Modal` if you're not importing bootstrap
}

const bootstrapLoadedEvent = new CustomEvent('BootstrapLoaded', {detail: {components : bootstrapComponents}});
window.dispatchEvent(bootstrapLoadedEvent);
```

Filters
-------

[](#filters)

### Use BS 4.x instead of 5.x

[](#use-bs-4x-instead-of-5x)

```
add_filter('otomaties_bootstrap_popup_bootstrap_version', fn() => '4.x');
```

### Filter available bootstrap themes

[](#filter-available-bootstrap-themes)

`otomaties_bootstrap_popup_button_themes`

### Center popup

[](#center-popup)

```
add_filter('otomaties_bootstrap_popup_modal_dialog_classes', fn($classes) => $classes . ' modal-dialog-centered');
```

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance56

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~52 days

Recently: every ~123 days

Total

33

Last Release

295d ago

Major Versions

1.0.5 → 2.0.02022-02-23

1.0.7 → 2.2.02022-11-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/4178291ccf36e3530aa8a8845124c3af1b24c064739ad98ded5b9679a4316033?d=identicon)[tombroucke](/maintainers/tombroucke)

---

Top Contributors

[![tombroucke](https://avatars.githubusercontent.com/u/24292260?v=4)](https://github.com/tombroucke "tombroucke (69 commits)")

---

Tags

pluginwordpressbootstrappopup

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tombroucke-otomaties-bootstrap-popup/health.svg)

```
[![Health](https://phpackages.com/badges/tombroucke-otomaties-bootstrap-popup/health.svg)](https://phpackages.com/packages/tombroucke-otomaties-bootstrap-popup)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
