PHPackages                             matej21/nette-autowire-component-factories - 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. matej21/nette-autowire-component-factories

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

matej21/nette-autowire-component-factories
==========================================

Lazy-Autowire of properties for Nette PresenterComponents.

4704PHP

Since Mar 6Pushed 13y ago2 watchersCompare

[ Source](https://github.com/matej21/nette-autowire-component-factories)[ Packagist](https://packagist.org/packages/matej21/nette-autowire-component-factories)[ RSS](/packages/matej21-nette-autowire-component-factories/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Autowire arguments in createComponent\* methods
===============================================

[](#autowire-arguments-in-createcomponent-methods)

discussion:  (czech only)

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

[](#include-in-application)

```
abstract class BasePresenter extends Nette\Application\UI\Presenter
{
	use \matej21\AutowireComponentFactories;

}
```

Usage
-----

[](#usage)

```
class FooPresenter extends BasePresenter
{

    public function createComponentBar(BarFactory $factory)
    {
        $component = $factory->create();
        return $component;

    }
}
```

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1276059?v=4)[David Matějka](/maintainers/matej21)[@matej21](https://github.com/matej21)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/matej21-nette-autowire-component-factories/health.svg)

```
[![Health](https://phpackages.com/badges/matej21-nette-autowire-component-factories/health.svg)](https://phpackages.com/packages/matej21-nette-autowire-component-factories)
```

###  Alternatives

[pid/speakingurl

Generate of so called 'static' or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' or 'slug' from a string.

1.1k5.4k1](/packages/pid-speakingurl)[kunstmaan/seo-bundle

Annotating content with metadata for social sharing and seo purposes cannot be overlooked nowadays. The KunstmaanSeoBundle contains default editing functionality for OpenGraph data, meta descriptions, keywords and titles and Metriweb tags. Because the metatagging and tracking options are always changing, a free field to add custom header information is provided as well.

28132.7k2](/packages/kunstmaan-seo-bundle)

PHPackages © 2026

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