PHPackages                             buri/nette-autoload-services - 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. buri/nette-autoload-services

AbandonedArchivedLibrary

buri/nette-autoload-services
============================

Automatically load and tag services from their respective directories

v1.1.1(7y ago)0281GPL-3.0-or-laterPHPPHP ^7.0

Since Oct 30Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Buri/nette-autoload-services)[ Packagist](https://packagist.org/packages/buri/nette-autoload-services)[ RSS](/packages/buri-nette-autoload-services/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Buri/nette-autoload-services
============================

[](#burinette-autoload-services)

Autoload services to nette container

Requirements
------------

[](#requirements)

Buri/nette-autoload-services requires PHP 7.0 or higher.

- [Nette DI](https://github.com/nette/di)
- [Nette Finder](https://github.com/nette/finder)
- [PHP tokenizer](http://php.net/manual/en/book.tokenizer.php)

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

[](#installation)

The best way to install Buri/nette-autoload-services is using [Composer](http://getcomposer.org/):

```
$ composer require buri/nette-autoload-services
```

Documentation
-------------

[](#documentation)

You can enable the extension using your neon config.

```
extensions:
	serviceAutoload: Buri\NAS\DI\Extension\AutoloadingExtension
```

You must place this extension BEFORE any other extension that will benefit from autoloading (ie. Kdyby/Console)

Configuration
-------------

[](#configuration)

This extension creates new configuration section `serviceAutoload` and no minimal configuration is required. Out of the box it provides support for:

- [Kdyby/Console](https://github.com/kdyby/console)
- [Kdyby/Events](https://github.com/kdyby/events)

If you wish to register your own directory for service autoloading, example follows:

```
serviceAutoload:
	consoleCommands:                  # Group name must be present, but can be any valid neon identifier
		directory: %appDir%/Console     # Directory to search in, recursively (string or string[])
		mask:                           # Filename mask, only matching files will be scanned for classes (string or string[])
			- *Command.php
		tag: kdyby.console.command      # Optional, can be used to tag services (string or string[])
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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 ~370 days

Total

3

Last Release

2738d ago

### Community

Maintainers

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

---

Top Contributors

[![Buri](https://avatars.githubusercontent.com/u/169319?v=4)](https://github.com/Buri "Buri (11 commits)")[![chapcz](https://avatars.githubusercontent.com/u/3541306?v=4)](https://github.com/chapcz "chapcz (2 commits)")

### Embed Badge

![Health badge](/badges/buri-nette-autoload-services/health.svg)

```
[![Health](https://phpackages.com/badges/buri-nette-autoload-services/health.svg)](https://phpackages.com/packages/buri-nette-autoload-services)
```

###  Alternatives

[kdyby/doctrine

Doctrine integration into Nette Framework

1091.0M86](/packages/kdyby-doctrine)[contributte/translation

Symfony/Translation integration for Nette Framework.

771.8M37](/packages/contributte-translation)[kdyby/translation

Integration of Symfony/Translation into Nette Framework

921.2M24](/packages/kdyby-translation)[brandembassy/slim-nette-extension

19190.2k](/packages/brandembassy-slim-nette-extension)[brabijan/images

Image storage for Nette Framework

5617.7k](/packages/brabijan-images)

PHPackages © 2026

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