PHPackages                             maleficarum/ioc - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. maleficarum/ioc

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

maleficarum/ioc
===============

Maleficarum IoC component.

3.0.1(7y ago)062.7k↓75%16proprietaryPHPPHP &gt;=7.2

Since Sep 23Pushed 6y ago2 watchersCompare

[ Source](https://github.com/pharaun13/maleficarum-ioc)[ Packagist](https://packagist.org/packages/maleficarum/ioc)[ RSS](/packages/maleficarum-ioc/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (16)

Change Log
==========

[](#change-log)

This is the Maleficarum IOC Container implementation.

\[3.0.1\] - 2018-10-12
----------------------

[](#301---2018-10-12)

### Fixed

[](#fixed)

- Class name will now be properly passed to the builder function.

\[3.0.0\] - 2018-09-04
----------------------

[](#300---2018-09-04)

> CAUTION: this version completely breaks backwards compatibility with 2.x. DO NOT just replace older version with this one.

### Changed

[](#changed)

- Changed dependency label to share: This means that registerDependency() and getDependency() methods have been renamed to registerShare() and retrieveShare() respectively.
- Reversed builder lookup order. With this new version the get() method will go from generic to specific and pass the result of each builder to the next one for refinement.
- Removed default builder file. If you want to have builders automatically imported you need to register each namespace. (This does not apply to builders added via initializers or manual code execution)
- Removed builder appends. They were never as useful as we hoped.
- Updated requirements to PHP 7.2

\[2.2.0\] - 2017-08-10
----------------------

[](#220---2017-08-10)

### Added

[](#added)

- Added support for builder appends.

\[2.1.0\] - 2017-03-23
----------------------

[](#210---2017-03-23)

### Added

[](#added-1)

- Added a way to access registered dependencies from outside of builder functions.

\[2.0.1\] - 2017-02-15
----------------------

[](#201---2017-02-15)

### Added

[](#added-2)

- Add tests.

\[2.0.0\] - 2017-01-23
----------------------

[](#200---2017-01-23)

### Changed

[](#changed-1)

- Add return and argument types declaration

\[1.1.0\] - 2016-10-03
----------------------

[](#110---2016-10-03)

### Changed

[](#changed-2)

- Made PHP7 compatible.
- Refactored how default builders are defined. They no longer are part of the general namespace list but defined as a separate option.
- Refactored unit tests to reflect new functionality and have a more readable structure.

\[1.0.0\] - 2016-09-23
----------------------

[](#100---2016-09-23)

### Added

[](#added-3)

- This was an initial release based on the code written by me and added to the repo by a-kowalski (Thanks !!!)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~107 days

Recently: every ~151 days

Total

8

Last Release

2812d ago

Major Versions

1.1.0 → 2.0.02017-01-23

2.2.0 → 3.0.02018-09-04

PHP version history (3 changes)1.0.0PHP &gt;=5.6

2.0.0PHP &gt;=7.0

3.0.0PHP &gt;=7.2

### Community

Maintainers

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

---

Top Contributors

[![pharaun13](https://avatars.githubusercontent.com/u/18721637?v=4)](https://github.com/pharaun13 "pharaun13 (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maleficarum-ioc/health.svg)

```
[![Health](https://phpackages.com/badges/maleficarum-ioc/health.svg)](https://phpackages.com/packages/maleficarum-ioc)
```

###  Alternatives

[netgen/layouts-ezplatform

Netgen Layouts &amp; eZ Platform integration

1438.8k5](/packages/netgen-layouts-ezplatform)

PHPackages © 2026

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