PHPackages                             gamee/nette-auto-registrator - 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. gamee/nette-auto-registrator

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

gamee/nette-auto-registrator
============================

Automatically register all found classes into DIC

v3.1.1(1y ago)18.1k[1 PRs](https://github.com/gameeapp/nette-auto-registrator/pulls)MITPHPPHP &gt;=8.2

Since Dec 18Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/gameeapp/nette-auto-registrator)[ Packagist](https://packagist.org/packages/gamee/nette-auto-registrator)[ RSS](/packages/gamee-nette-auto-registrator/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (3)Versions (13)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/857ea87132740eeda56c6448544cd830bb56665eb936cc823133fa0a73798549/68747470733a2f2f706f7365722e707567782e6f72672f67616d65652f6e657474652d6175746f2d7265676973747261746f722f762f737461626c65)](https://packagist.org/packages/gamee/nette-auto-registrator)[![License](https://camo.githubusercontent.com/621ab8c5bfcb48d8ae642b2dc37e450bb322aabf58d2022676d1c0c039a02cf4/68747470733a2f2f706f7365722e707567782e6f72672f67616d65652f6e657474652d6175746f2d7265676973747261746f722f6c6963656e7365)](https://packagist.org/packages/gamee/nette-auto-registrator)[![Total Downloads](https://camo.githubusercontent.com/c44d94829be5dd95fd3454b5a4b8832c43f37dceafde13e1d4f8cca3443813e0/68747470733a2f2f706f7365722e707567782e6f72672f67616d65652f6e657474652d6175746f2d7265676973747261746f722f646f776e6c6f616473)](https://packagist.org/packages/gamee/nette-auto-registrator)[![Build Status](https://camo.githubusercontent.com/b01328101d4fd3cfe5b9293aa489804162c39d9d9c7d7a543fdc8e2d87ee791b/68747470733a2f2f7472617669732d63692e6f72672f67616d65656170702f6e657474652d6175746f2d7265676973747261746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gameeapp/nette-auto-registrator)

gamee/nette-auto-registrator
============================

[](#gameenette-auto-registrator)

Using this extension, you don't have to list all classes in neon config. This extension will automatically register all classes for you.

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

[](#installation)

```
composer require gamee/nette-auto-registrator
```

Usage
-----

[](#usage)

### config.neon:

[](#configneon)

```
extensions:
	autoRegistrator: Gamee\AutoRegistrator\DI\AutoRegistratorExtension

autoRegistrator:
	skipDirs:
		- Extension
	scanDirs:
		- %appDir%
	skipFilesPatterns:
		- '/Exception\.php$/'
	skipClasses:
		- App\Foo\Bar
		- App\MyBoomCreator

```

### Yes sir, you can use it also in another extension:

[](#yes-sir-you-can-use-it-also-in-another-extension)

```
declare(strict_types=1);

namespace MyProject\Foo\DI;

use Gamee\AutoRegistrator\DI\AutoRegistratorExtension;
use Nette\DI\CompilerExtension;

final class FooExtension extends CompilerExtension
{

	public function loadConfiguration(): void
	{
		AutoRegistratorExtension::configure(
			$this->compiler,
			[
				'scanDirs' => [__DIR__ . '/..'],
				'skipDirs' => [
					'Enum'
				],
				'skipFilesPatterns' => [
					'/Extension\.php$/',
					'/Event\.php$/',
				],
				'skipClasses' => [],
			]
		);
	}
}
```

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance65

Regular maintenance activity

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity77

Established project with proven stability

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

Recently: every ~327 days

Total

9

Last Release

487d ago

Major Versions

v1.0.0 → v2.0.02020-04-02

v2.3.0 → v3.0.02023-05-11

PHP version history (4 changes)v1.0.0PHP &gt;=7.1

v2.3.0PHP &gt;=7.4

v3.0.0PHP &gt;=8.0

v3.1PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1488874?v=4)[Pavel Janda](/maintainers/paveljanda)[@paveljanda](https://github.com/paveljanda)

![](https://www.gravatar.com/avatar/55acbe2f4ce912b47632e93f685bbbd725795c40587564c0158b863c92accbfe?d=identicon)[gamee](/maintainers/gamee)

---

Top Contributors

[![paveljanda](https://avatars.githubusercontent.com/u/1488874?v=4)](https://github.com/paveljanda "paveljanda (9 commits)")[![TomPavelec](https://avatars.githubusercontent.com/u/46928405?v=4)](https://github.com/TomPavelec "TomPavelec (6 commits)")[![antonL95](https://avatars.githubusercontent.com/u/44720333?v=4)](https://github.com/antonL95 "antonL95 (4 commits)")

### Embed Badge

![Health badge](/badges/gamee-nette-auto-registrator/health.svg)

```
[![Health](https://phpackages.com/badges/gamee-nette-auto-registrator/health.svg)](https://phpackages.com/packages/gamee-nette-auto-registrator)
```

###  Alternatives

[wnx/laravel-stats

Get insights about your Laravel Project

1.8k1.8M7](/packages/wnx-laravel-stats)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)

PHPackages © 2026

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