Registry / utility / level-2-dice

level-2-dice

JSON →
library4.0.4phppackagistunverified

A minimalist Dependency injection container (DIC) for PHP.

composer require level-2/dice
INSTALL
IMPORT
SIG · LEVEL-2-DICE
L
level-2-dice
utilityphpv4.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.

Dice
use Dice\Dice;

Creating an object using the Dice dependency injection container.

use Dice\Dice; $dice = new Dice(); $object = $dice->create('MyClass');
Debug
Known issues
breakingVersion 3.0+ requires PHP 7.0 or higher; 2.0 branch supports PHP 5.6.
fix
Check PHP version compatibility before upgrading.
affects: >=3.0.0
Upgrade
Version history
4.0.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
level-2-dice — pip install level-2-dice · libregistry