PHPackages                             mrtnzlml/presenter-factory - 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. mrtnzlml/presenter-factory

Abandoned → [adeira/presenter-factory](/?search=adeira%2Fpresenter-factory)ArchivedLibrary

mrtnzlml/presenter-factory
==========================

v1.0.4(9y ago)01.9k3BSD-3-ClausePHP

Since Apr 21Pushed 8y agoCompare

[ Source](https://github.com/mrtnzlml/presenter-factory)[ Packagist](https://packagist.org/packages/mrtnzlml/presenter-factory)[ RSS](/packages/mrtnzlml-presenter-factory/feed)WikiDiscussions master Synced 2mo ago

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

> At this moment I don't have time, energy and money to maintain this project. But it's a shame so if you depend on this project and you want to become a sponsor or develop it further please don't hesitate to contact me. Otherwise, I am not able to guarantee bright future of this repo... :)

Enhanced presenter factory for Nette Framework
==============================================

[](#enhanced-presenter-factory-for-nette-framework)

This package is fork of [librette/presenter-factory](https://github.com/librette/presenter-factory). Unfortunately author of this package is not taking care of this package anymore. But it's very useful. So that's why. And now what:

[![Build Status](https://camo.githubusercontent.com/72382c8db1558d418c67145403f539b20173ae5f0d7f0b72d9b523124f02af15/68747470733a2f2f7472617669732d63692e6f72672f6164656972612f70726573656e7465722d666163746f72792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/adeira/presenter-factory)

Nette Framework does have very simple presenter factory which helps you to map namespaces of presenters to the presenter name and vice versa. Unfortunately it's not possible to map two namespaces under one module section:

```
application:
  mapping:
    Module: App\Presenters\*Presenter
```

But with this package it is possible:

```
application:
  mapping:
    Module:
      - App\Presenters\*Presenter
      - Bpp\Controllers\*Controller
```

In this case Nette is going to look for presenters in two namespaces. This is extremely useful if you have a lot of bundles separated by functionality. For example you have API module with this mapping:

`['Api' => 'Ant\ApiModule\Presenters\*Presenter']`

Then you have Assets bundle. In this bundle you can setup mapping for presenters under Assets package but related to the API like this:

`['Api' => 'Ant\Assets\ApiModule\Presenters\*Presenter']`

I found this very useful.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 53.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 ~43 days

Total

5

Last Release

3496d ago

### Community

Maintainers

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

---

Top Contributors

[![mrtnzlml](https://avatars.githubusercontent.com/u/978368?v=4)](https://github.com/mrtnzlml "mrtnzlml (17 commits)")[![matej21](https://avatars.githubusercontent.com/u/1276059?v=4)](https://github.com/matej21 "matej21 (15 commits)")

---

Tags

netteapplicationlibrettepresenter factory

### Embed Badge

![Health badge](/badges/mrtnzlml-presenter-factory/health.svg)

```
[![Health](https://phpackages.com/badges/mrtnzlml-presenter-factory/health.svg)](https://phpackages.com/packages/mrtnzlml-presenter-factory)
```

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[nette/schema

📐 Nette Schema: validating data structures against a given Schema.

1.0k336.4M125](/packages/nette-schema)[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M576](/packages/nette-php-generator)[tracy/tracy

😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.

1.8k24.4M1.3k](/packages/tracy-tracy)[nette/neon

🍸 Nette NEON: encodes and decodes NEON file format.

93462.1M333](/packages/nette-neon)[nette/robot-loader

🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.

89152.7M321](/packages/nette-robot-loader)

PHPackages © 2026

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