PHPackages                             fri-uniza/modals - 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. fri-uniza/modals

ActiveLibrary

fri-uniza/modals
================

The implementation of Bootstrap modals for Nette framework.

1.0(8y ago)079MITPHPPHP &gt;= 5.5

Since Feb 8Pushed 8y ago11 watchersCompare

[ Source](https://github.com/FRI-UNIZA/modals)[ Packagist](https://packagist.org/packages/fri-uniza/modals)[ Docs](http://bros.land)[ RSS](/packages/fri-uniza-modals/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Brosland / Modals
=================

[](#brosland--modals)

List of components:

- **Modal** - abstract class for modal
- **ConfirmModal** - simple modal for confirmation

### Installation

[](#installation)

The best way to install is using [Composer](http://getcomposer.org/):

```
$ composer require brosland/modals
```

1 add ModalTrait to your base presenter and override method `beforeRender`

```
abstract class BasePresenter extends \Nette\Application\UI\Presenter
{
	use \Brosland\Modals\ModalTrait;

	protected function beforeRender()
	{
		parent::beforeRender();

		$this->updateModal($this);
	}
	// ...
```

2 add placeholder for a modal to your base layout

```
{snippet modal}{ifset $modal}{control $modal}{/ifset}{/snippet}
```

3 Copy `brosland.modals.js` to your directory with Javascript files (you can use [Bower](http://bower.io/) for this).

4 Link the file in your templates (usually in `app/@layout.latte`, after jQuery!).

###  Health Score

27

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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

Unknown

Total

1

Last Release

2965d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c8406206ed229d75a7b174645bccea2135d594d3894fa8b85b725bd17b5163c?d=identicon)[hrkut](/maintainers/hrkut)

---

Top Contributors

[![brosland](https://avatars.githubusercontent.com/u/5032495?v=4)](https://github.com/brosland "brosland (16 commits)")[![hrkut](https://avatars.githubusercontent.com/u/1424587?v=4)](https://github.com/hrkut "hrkut (1 commits)")[![mariokemen](https://avatars.githubusercontent.com/u/109918849?v=4)](https://github.com/mariokemen "mariokemen (1 commits)")

---

Tags

nettebootstrapmodalsbrosland

### Embed Badge

![Health badge](/badges/fri-uniza-modals/health.svg)

```
[![Health](https://phpackages.com/badges/fri-uniza-modals/health.svg)](https://phpackages.com/packages/fri-uniza-modals)
```

###  Alternatives

[nette/forms

📝 Nette Forms: generating, validating and processing secure forms in PHP. Handy API, fully customizable, server &amp; client side validation and mature design.

52613.0M412](/packages/nette-forms)[contributte/forms-bootstrap

Nette extension for Bootstrap forms

211.1M4](/packages/contributte-forms-bootstrap)[tomaj/nette-bootstrap-form

Nette bootstrap form renderer

31435.8k5](/packages/tomaj-nette-bootstrap-form)[contributte/bootstrap

Extra contrib to nette/boostrap

121.5M3](/packages/contributte-bootstrap)[nepada/form-renderer

Latte template based form renderer for Nette forms with full support for Bootstrap 3, 4 &amp; 5.

11250.1k](/packages/nepada-form-renderer)[czubehead/bootstrap-4-forms

Nette extension for Bootstrap 4 forms

1019.5k1](/packages/czubehead-bootstrap-4-forms)

PHPackages © 2026

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