PHPackages                             happyr/happyr-dialog - 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. happyr/happyr-dialog

ActiveJs-library[Utility &amp; Helpers](/categories/utility)

happyr/happyr-dialog
====================

A nice javascript library that helps you to show dialogs.

1.3.10(12y ago)0110MITJavaScript

Since Aug 19Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Happyr/HappyR-Dialog)[ Packagist](https://packagist.org/packages/happyr/happyr-dialog)[ Docs](http://developer.happyr.se/libraries/jquery-happyr-dialog)[ RSS](/packages/happyr-happyr-dialog/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (17)Used By (0)

HappyR Dialog
=============

[](#happyr-dialog)

This is a javascript dialog library. The HappyR Dialog depends on jQuery. It is built on Twitter Inc Bootstrap Modal. Some features of the HappyR Dialog:

- responsive design
- built for Ajax
- highly configurable
- we don't force you to write tons of code of your own

Please browse some of our [examples](http://developer.happyr.se/libraries/jquery-happyr-dialog/examples) and when you feel confident with the library you may want to have a look at the [configuration](http://developer.happyr.se/libraries/jquery-happyr-dialog#configuration).

Installation
------------

[](#installation)

The only thing you *need* to do is to import the jQuery library and then the HappyR Dialog library. It is highly recommended that you import some CSS as well.

```

        Open dialog

        Dialog contents.

```

### Responsive design

[](#responsive-design)

To make sure the responsive design behaves as expected, please make sure that you have the viewport meta tag in you HTML head section.

```

```

### Override default settings

[](#override-default-settings)

The library has a quite a few settings and the defaults are not always suitable to you. There is two ways of to define settings: Globally and per dialog.

To change settings globally use the jQuery.extend

```
// js/common.js
$.happyrDialogSetDefaults({
    backdrop: "static",
    texts: {
        confirm:"Okey" ,
        title: "Awesome dialog"
    }
    });
```

To change settings per dialog use the 'data-happyr-dialog-settings' attribute on a DOM.

```

    Open dialog

```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

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 ~15 days

Recently: every ~54 days

Total

16

Last Release

4471d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (93 commits)")

---

Tags

dialog

### Embed Badge

![Health badge](/badges/happyr-happyr-dialog/health.svg)

```
[![Health](https://phpackages.com/badges/happyr-happyr-dialog/health.svg)](https://phpackages.com/packages/happyr-happyr-dialog)
```

###  Alternatives

[kartik-v/yii2-dialog

An asset bundle for bootstrap3-dialog for Yii 2.0 framework.

496.4M19](/packages/kartik-v-yii2-dialog)[albertcht/lumen-helpers

To support Laravel 's unsupported features in Lumen.

2931.3k1](/packages/albertcht-lumen-helpers)

PHPackages © 2026

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