PHPackages                             geniv/nette-overlay - 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. geniv/nette-overlay

ActiveLibrary

geniv/nette-overlay
===================

Overlay component for Nette Framework

v2.1.2(7y ago)0591MITPHPPHP &gt;=7.0

Since Jan 9Pushed 7y ago2 watchersCompare

[ Source](https://github.com/geniv/nette-overlay)[ Packagist](https://packagist.org/packages/geniv/nette-overlay)[ RSS](/packages/geniv-nette-overlay/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (16)Used By (0)

Overlay
=======

[](#overlay)

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

[](#installation)

```
$ composer require geniv/nette-overlay
```

or

```
"geniv/nette-overlay": "^2.0"
```

require:

```
"php": ">=7.0",
"nette/nette": ">=2.4",
"geniv/nette-general-form": ">=1.0"
```

Include in application
----------------------

[](#include-in-application)

neon configure:

```
services:
    - Overlay
```

usage:

```
protected function createComponentOverlay(Overlay $overlay): Overlay
{
    //$overlay->setTemplatePath(__DIR__.'/templates/overlayBegin.latte');
    //$overlay->setTemplatePathBoth(__DIR__.'/templates/overlayBegin.latte',__DIR__.'/templates/overlayEnd.latte');
    return $overlay;
}
```

usage:

*data-specific* in href `custom-layer-1` correspond name by in `{control overlay:begin ...`

```
Open custom layer #1
...
{control overlay:begin 'custom-layer-1'}
or
{control overlay:begin 'custom-layer-1', 'class-modifier'}
content
{control overlay:end}
```

or extreme usage, better usage is: Multiplier

```
protected function createComponentOverlay1(Overlay $overlay): Overlay
{
    $overlay = clone $overlay;
    //$overlay->setTemplatePath(__DIR__.'/templates/overlayBegin.latte');
    return $overlay;
}
```

and latte:

```
{control overlay1:begin 'custom-layer-2'}form{control overlay1:end}
```

JS:

```
netteOverlayOpen([specificNetteOverlay, firstFocus, bodyOverflowFix, bodyPaddingFix]);
netteOverlayClose();
```

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 73.1% 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 ~26 days

Recently: every ~16 days

Total

14

Last Release

2700d ago

Major Versions

v1.1.0 → v2.1.02018-11-18

PHP version history (3 changes)v1.0.0PHP &gt;=5.6.0

v2.1.0PHP &gt;=7.0.0

v2.1.2PHP &gt;=7.0

### Community

Maintainers

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

---

Top Contributors

[![geniv](https://avatars.githubusercontent.com/u/563659?v=4)](https://github.com/geniv "geniv (38 commits)")[![MartinFugess](https://avatars.githubusercontent.com/u/4451137?v=4)](https://github.com/MartinFugess "MartinFugess (14 commits)")

---

Tags

nettegenivoverlay

### Embed Badge

![Health badge](/badges/geniv-nette-overlay/health.svg)

```
[![Health](https://phpackages.com/badges/geniv-nette-overlay/health.svg)](https://phpackages.com/packages/geniv-nette-overlay)
```

PHPackages © 2026

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