PHPackages                             antstudiocz/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. antstudiocz/presenter-factory

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

antstudiocz/presenter-factory
=============================

v2.1.0(2y ago)0970BSD-3-ClausePHPPHP 8.0.\* || 8.1.\* || 8.2.\*

Since Apr 21Pushed 2y agoCompare

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

READMEChangelog (2)Dependencies (8)Versions (12)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/7145a10db218ca06b96828155be8f0bb1748c0198f8982399b8362c560a115ce/68747470733a2f2f7472617669732d63692e6f72672f4a6f686e79526963696f2f70726573656e7465722d666163746f72792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/JohnyRicio/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

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~361 days

Recently: every ~679 days

Total

9

Last Release

778d ago

Major Versions

1.1.1 → v2.0.02022-06-13

PHP version history (3 changes)1.1.0PHP ^7.1

v2.0.0PHP 8.0.\* || 8.1.\*

v2.1.0PHP 8.0.\* || 8.1.\* || 8.2.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/65e2991b19827edb045b78ca66536995db88a943d22f0d173472043de6ccca9c?d=identicon)[vaci](/maintainers/vaci)

---

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)")[![JohnyRicio](https://avatars.githubusercontent.com/u/29255375?v=4)](https://github.com/JohnyRicio "JohnyRicio (11 commits)")[![adam-janca](https://avatars.githubusercontent.com/u/61238624?v=4)](https://github.com/adam-janca "adam-janca (1 commits)")[![honzavaclavik](https://avatars.githubusercontent.com/u/12621450?v=4)](https://github.com/honzavaclavik "honzavaclavik (1 commits)")

---

Tags

netteapplicationlibrettepresenter factory

### Embed Badge

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

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

###  Alternatives

[contributte/menu-control

Menu control for Nette framework

29108.6k1](/packages/contributte-menu-control)[carrooi/nette-menu

Menu control for Nette framework

2950.0k1](/packages/carrooi-nette-menu)[bileto/cronner

Simple tool which helps with maintenance of cron tasks.

752.1k](/packages/bileto-cronner)[ipub/gravatar

Gravatar creator for Nette Framework

122.0k1](/packages/ipub-gravatar)

PHPackages © 2026

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