PHPackages                             zenify/modular-presenter-mapping - 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. zenify/modular-presenter-mapping

Abandoned → [contributte/application](/?search=contributte%2Fapplication)Library[Utility &amp; Helpers](/categories/utility)

zenify/modular-presenter-mapping
================================

Modularity for presenter mapping in Nette presenter factory.

v0.1.0(10y ago)013.3kMITPHPPHP &gt;=5.6

Since Sep 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/deprecated-packages/ModularPresenterMapping)[ Packagist](https://packagist.org/packages/zenify/modular-presenter-mapping)[ RSS](/packages/zenify-modular-presenter-mapping/feed)WikiDiscussions master Synced 1mo ago

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

ModularPresenterMapping
=======================

[](#modularpresentermapping)

[![Build Status](https://camo.githubusercontent.com/7196f06315b077ed8509615a3f8af8b1f4e4dd09775dc5b4ffab841986f1d4e4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f5a656e6966792f4d6f64756c617250726573656e7465724d617070696e672e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Zenify/ModularPresenterMapping)[![Quality Score](https://camo.githubusercontent.com/8f8eb08b3448c5077a0a946992d539aac91ab58d31d4dcf28446ab3b11cdc85a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f5a656e6966792f4d6f64756c617250726573656e7465724d617070696e672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Zenify/ModularPresenterMapping)[![Code Coverage](https://camo.githubusercontent.com/6595ac85497cfe541e310cc229acc6a51cb36e3d38f34e21806d4a1aa96aeb46/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f5a656e6966792f4d6f64756c617250726573656e7465724d617070696e672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Zenify/ModularPresenterMapping)[![Downloads](https://camo.githubusercontent.com/4771d7769e42c62b88d79df936ecc23b284e67a0a284cc8989eb01fe1bb7633e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a656e6966792f6d6f64756c61722d70726573656e7465722d6d617070696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zenify/modular-presenter-mapping)[![Latest stable](https://camo.githubusercontent.com/9024f64229bd255580bc55d94e45618cd9b9f2cef59512a2e315b53dca1bf0db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a656e6966792f6d6f64756c61722d70726573656e7465722d6d617070696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zenify/modular-presenter-mapping)

Install
-------

[](#install)

Via Composer

```
$ composer require zenify/modular-presenter-mapping
```

Register the extension in `config.neon`:

```
extensions:
	- Zenify\ModularPresenterMapping\DI\ModularPresenterMappingExtension
```

Usage
-----

[](#usage)

To add own presenter mapping, create class that will implement [`Zenify\ModularPresenterMapping\Contract\Application\PresenterMappingProviderInterface`](src/Contract/Application/PresenterMappingProviderInterface.php)

```
use Zenify\ModularPresenterMapping\Contract\Application\PresenterMappingProviderInterface;

final class MyExtensionPresenterMapping implements PresenterMappingProviderInterface
{

	/**
	 * {@inheritdoc}
	 */
	public function provide()
	{
		return [
			// module => it's namespace, "*" is for presenter name
			'PayPal' => 'My\Package\Presenter\*Presenter'
		];
	}

}
```

Then in redirect:

```
$this->redirect('PayPal:Payment');
```

or template:

```
Pay!
```

would go to: `My\Package\Presenter\PaymentPresenter`.

Testing
-------

[](#testing)

```
$ phpunit
```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3882d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/538058?v=4)[Milan Šulc](/maintainers/f3l1x)[@f3l1x](https://github.com/f3l1x)

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

---

Top Contributors

[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (5 commits)")

### Embed Badge

![Health badge](/badges/zenify-modular-presenter-mapping/health.svg)

```
[![Health](https://phpackages.com/badges/zenify-modular-presenter-mapping/health.svg)](https://phpackages.com/packages/zenify-modular-presenter-mapping)
```

###  Alternatives

[tomaj/hermes

Simple php background processing library

38251.0k5](/packages/tomaj-hermes)

PHPackages © 2026

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