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. tombroucke/otomaties-bootstrap-popup

ActiveWordpress-plugin

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

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

Since Jan 26Pushed 6mo 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 today

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

44

—

FairBetter than 92% of packages

Maintenance66

Regular maintenance activity

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

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

199d 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

[sybrew/the-seo-framework

An automated, advanced, accessible, unbranded and extremely fast SEO solution for any WordPress website.

46876.8k](/packages/sybrew-the-seo-framework)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)[justcoded/wordpress-theme-framework

Lightweight theme framework base with Model-View concept for developers who want to better organize their own custom themes.

264.1k2](/packages/justcoded-wordpress-theme-framework)

PHPackages © 2026

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