Componette

Componette

contributte

contributte / service-autoloader

๐Ÿ’€ [DISCONTINUED] Nette DI container servicer autoloader for Nette Framework (@contributte). Use contributte/di.

download-cloud-line composer require minetro/service-autoloader

Website ๐Ÿš€ contributte.org | Contact ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป f3l1x.io | Twitter ๐Ÿฆ @contributte

Disclaimer

โš ๏ธ This project is no longer being maintained. Please use contributte/di.
Composer minetro/service-autoloader
Version
PHP
License

Usage

extensions:
	autoload: Minetro\Autoloader\DI\ServiceAutoloadExtension

By default

This configuration is enabled by default.

autoload:
	dirs:
		- %appDir%

	annotations:
		- @Service

	interfaces:
		- Minetro\Autoloader\AutoloadService

	decorator:
		inject: off

Custom

You can override all configuration settings you want to.

autoload:
	dirs:
		- %appDir%
		- %libsDir%
		- %fooDir%

	annotations:
		- @Service
		- @MyCustomService

	interfaces:
		- Minetro\Autoloader\AutoloadService
		- App\Model\MyAutoloadServiceInterface

	decorator:
		inject: on / off

Performance

Service loading is triggered only once at dependency injection container compile-time. You should be pretty fast, almost as official registering presenter as services.

Development

This package was maintain by these authors.


Consider to support contributte development team. Also thank you for being used this package.

No release at this moment. Try to create first one.

price-tag-2-line

Badges

guide-fill

Dependencies

php (>= 5.6)
nette/robot-loader (~2.3.0|~2.4.0)
nette/reflection (~2.3.0|~2.4.0)
Componette Componette felix@nette.org