Download the PHP package hypejunction/elgg-di without Composer
On this page you can find all versions of the php package hypejunction/elgg-di. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hypejunction/elgg-di
More information about hypejunction/elgg-di
Files in hypejunction/elgg-di
Download hypejunction/elgg-di
More information about hypejunction/elgg-di
Files in hypejunction/elgg-di
Vendor hypejunction
Package elgg-di
Short Description Dependency Injection container for Elgg
License GPL-2.0
Homepage http://hypejunction.com
Package elgg-di
Short Description Dependency Injection container for Elgg
License GPL-2.0
Homepage http://hypejunction.com
Please rate this library. Is it a good library?
Informations about the package elgg-di
Dependency Injection for Elgg
Features
- PHP-DI integration for Elgg
Usage
Installation
- Place the plugin above all others in your plugin list and enable
Service Registration
- To register a new service, add
config/di.php
to your plugin root and return an array of services you want to register - You can access services via
elgg_di()->$service_name
Container Compilation
- To disable container compilation/caching - set
$CONFIG->environment = 'development'
Plugin Config
- You can set site-wide config by creating
oonfig/config.php
in your plugin, and returning an array of key value pairs. Note that plugins with higher priority with override config previously defined in other plugins.
All versions of elgg-di with dependencies
PHP Build Version
Package Version
The package hypejunction/elgg-di contains the following files
Loading the files please wait ....