Registry / utility / anax-di

anax-di

JSON →
library2.0.4phppackagistunverified

Anax DI module, dependency injection (PHP-FIG PSR-11).

composer require anax/di
INSTALL
IMPORT
SIG · ANAX-DI
A
anax-di
utilityphpv2.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DI
use Anax\DI\DI;

Create a DI container and retrieve a service.

use Anax\DI\DI; $di = new DI(); $di->set('service', function () { return new stdClass(); }); $service = $di->get('service');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Meta
1
OpenAI (training)
1
Resources
anax-di — pip install anax-di · libregistry