PHPackages                             jeremymlane/bootbox - 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. jeremymlane/bootbox

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jeremymlane/bootbox
===================

Bootbox Bootstrap Alerts

v5.x-dev(7y ago)14.8kMITCoffeeScript

Since Nov 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jeremymlane/bootbox)[ Packagist](https://packagist.org/packages/jeremymlane/bootbox)[ RSS](/packages/jeremymlane-bootbox/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (4)Used By (0)

Bootbox - Twitter Bootstrap powered alert, confirm and flexible dialog boxes
============================================================================

[](#bootbox---twitter-bootstrap-powered-alert-confirm-and-flexible-dialog-boxes)

Please see  for full usage instructions, or head over to  for the original writeup about the project.

Contact
-------

[](#contact)

The easiest thing is to [find me on twitter @makeusabrew](http://twitter.com/makeusabrew).

Contributing
------------

[](#contributing)

Please see the [CONTRIBUTING](https://github.com/makeusabrew/bootbox/blob/master/CONTRIBUTING.md) file for guidelines.

Running Tests [![Build Status](https://camo.githubusercontent.com/fa4202f2c815a8894534ba0b967650b0aeaff8fc93795f3fb3eab52e15c006be/68747470733a2f2f6170692e7472617669732d63692e6f72672f6d616b65757361627265772f626f6f74626f782e706e67)](http://travis-ci.org/makeusabrew/bootbox)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#running-tests-)

Tests are run using [Karma](http://karma-runner.github.io/0.8/index.html) using the Mocha test adapter. To run the tests yourself, simply run `npm install` within the project followed by `npm test`. Please note that this will require [PhantomJS](http://phantomjs.org/) being installed and in your path - if it is not, you may run the tests and capture browsers manually by running `karma start` from the root of the project.

The project is also hosted on [Travis CI](https://travis-ci.org/makeusabrew/bootbox) - when submitting pull requests **please** ensure your tests pass as failing requests will be rejected. See the [CONTRIBUTING](https://github.com/makeusabrew/bootbox/blob/master/CONTRIBUTING.md) file for more information.

Building a minified release
---------------------------

[](#building-a-minified-release)

The repository no longer contains a minified bootbox.min.js file - this is now only generated [for releases](https://github.com/makeusabrew/bootbox/releases). To build your own minified copy for use in development simply run `npm install` if you haven't already, followed by `grunt uglify`. This will generate a bootbox.min.js file in your working directory.

A note on Bootstrap dependencies
--------------------------------

[](#a-note-on-bootstrap-dependencies)

Bootbox **4.0.0** is the first release to support Bootstrap 3.0.0.

Bootbox **3.3.0** is the *last* release to support Bootstrap 2.2.x.

Much more dependency information can be found [on the Bootbox website](http://bootboxjs.com/#dependencies).

### Roadmap

[](#roadmap)

The latest major release of Bootbox - 4.0.0 - involved a total rewrite of the internal code and introduced an entirely new public API. It has not re-implemented some functionality from the 3.x series as of yet; this will be addressed in the coming weeks in the form of new minor releases; [a task list for 4.2.0 is available](https://github.com/makeusabrew/bootbox/issues/162) - please feel free to add feedback and requests.

There is no new major (e.g. 5.x) release on the roadmap at present.

Latest Release: 4.1.0
---------------------

[](#latest-release-410)

- Add support for placeholder attribute in prompts
- Add select, email and checkbox types for prompts (thanks [@tarlepp](https://github.com/tarlepp))
- Add Norwegian locale
- Allow setDefaults to take two key/val arguments
- Add unique classes for main dialog methods
- Create bower package

For a full list of releases and changes please see [the changelog](https://github.com/makeusabrew/bootbox/blob/master/CHANGELOG.md).

License
-------

[](#license)

(The MIT License)

Copyright (C) 2011-2013 by Nick Payne

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.5% 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 ~416 days

Total

2

Last Release

2839d ago

Major Versions

v4.x-dev → v5.x-dev2018-08-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/a355ced69df2b3330d74c30b23f7ae330ad956260a142ab259830c22fbee085b?d=identicon)[jeremymlane](/maintainers/jeremymlane)

---

Top Contributors

[![makeusabrew](https://avatars.githubusercontent.com/u/278461?v=4)](https://github.com/makeusabrew "makeusabrew (328 commits)")[![tarlepp](https://avatars.githubusercontent.com/u/595561?v=4)](https://github.com/tarlepp "tarlepp (13 commits)")[![jeremymlane](https://avatars.githubusercontent.com/u/1743584?v=4)](https://github.com/jeremymlane "jeremymlane (5 commits)")[![matrei](https://avatars.githubusercontent.com/u/5700269?v=4)](https://github.com/matrei "matrei (4 commits)")[![joshnesbitt](https://avatars.githubusercontent.com/u/33054?v=4)](https://github.com/joshnesbitt "joshnesbitt (3 commits)")[![bastervrugt](https://avatars.githubusercontent.com/u/131848?v=4)](https://github.com/bastervrugt "bastervrugt (2 commits)")[![sroze](https://avatars.githubusercontent.com/u/804625?v=4)](https://github.com/sroze "sroze (2 commits)")[![StevePotter](https://avatars.githubusercontent.com/u/271103?v=4)](https://github.com/StevePotter "StevePotter (2 commits)")[![ianleckey](https://avatars.githubusercontent.com/u/668964?v=4)](https://github.com/ianleckey "ianleckey (2 commits)")[![arielkirkwood](https://avatars.githubusercontent.com/u/414839?v=4)](https://github.com/arielkirkwood "arielkirkwood (1 commits)")[![luis-kaufmann-silva](https://avatars.githubusercontent.com/u/1151616?v=4)](https://github.com/luis-kaufmann-silva "luis-kaufmann-silva (1 commits)")[![maurofran](https://avatars.githubusercontent.com/u/275394?v=4)](https://github.com/maurofran "maurofran (1 commits)")[![neugon](https://avatars.githubusercontent.com/u/1959481?v=4)](https://github.com/neugon "neugon (1 commits)")[![nlalonde](https://avatars.githubusercontent.com/u/151885?v=4)](https://github.com/nlalonde "nlalonde (1 commits)")[![nmenglund](https://avatars.githubusercontent.com/u/4630452?v=4)](https://github.com/nmenglund "nmenglund (1 commits)")[![peterbraden](https://avatars.githubusercontent.com/u/52586?v=4)](https://github.com/peterbraden "peterbraden (1 commits)")[![pzgz](https://avatars.githubusercontent.com/u/529486?v=4)](https://github.com/pzgz "pzgz (1 commits)")[![scruffles](https://avatars.githubusercontent.com/u/145380?v=4)](https://github.com/scruffles "scruffles (1 commits)")[![jpadvo](https://avatars.githubusercontent.com/u/428338?v=4)](https://github.com/jpadvo "jpadvo (1 commits)")[![atans](https://avatars.githubusercontent.com/u/2189764?v=4)](https://github.com/atans "atans (1 commits)")

### Embed Badge

![Health badge](/badges/jeremymlane-bootbox/health.svg)

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

###  Alternatives

[eternicode/bootstrap-datepicker

A datepicker for Bootstrap

12.7k543.8k6](/packages/eternicode-bootstrap-datepicker)[makeusabrew/bootbox

Wrappers for JavaScript alert(), confirm() and other flexible dialogs using the Bootstrap framework

5.0k109.4k2](/packages/makeusabrew-bootbox)[cwspear/bootstrap-hover-dropdown

An unofficial Bootstrap plugin to enable Bootstrap dropdowns to activate on hover and provide a nice user experience.

1.3k153.1k](/packages/cwspear-bootstrap-hover-dropdown)[nicolasbize/magicsuggest

MagicSuggest is a multiple selection auto-suggest input box for Bootstrap 3.

1.3k83.3k4](/packages/nicolasbize-magicsuggest)[grimmlink/bootstrap-filestyle

jQuery customization of input html file for Bootstrap Twitter http://markusslima.github.io/bootstrap-filestyle/

71510.6k](/packages/grimmlink-bootstrap-filestyle)

PHPackages © 2026

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