PHPackages                             arhframe/iocart - 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. [Framework](/categories/framework)
4. /
5. arhframe/iocart

ActiveLibrary[Framework](/categories/framework)

arhframe/iocart
===============

Ioc which use the spring style.

1.0.5(11y ago)1134MITPHP

Since Jun 24Pushed 11y agoCompare

[ Source](https://github.com/arhframe/iocart)[ Packagist](https://packagist.org/packages/arhframe/iocart)[ Docs](https://github.com/arhframe/annotations)[ RSS](/packages/arhframe-iocart/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

IocArt
======

[](#iocart)

IocArt is an another IOC (inversion of Control) and he is close too Spring Ioc style. The main point is that IocArt have his context file in yml. Bean is "class" wich you can inject inside their properties:

- Another bean
- Property file
- A yaml file read by [yamlarh](https://github.com/arhframe/yamlarh)
- A stream

You can also import other yaml context in a yaml context

Installation
============

[](#installation)

Through Composer, obviously:

```
{
    "require": {
        "arhframe/iocart": "1.*"
    }
}
```

Usage
=====

[](#usage)

```
use Arhframe\IocArt\BeanLoader;

$beanLoader = BeanLoader::getInstance();
$beanLoader->loadContext('your/yaml/file/for/context');
```

Examples
========

[](#examples)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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 ~13 days

Total

6

Last Release

4275d ago

### Community

Maintainers

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

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

---

Top Contributors

[![ArthurHlt](https://avatars.githubusercontent.com/u/5410858?v=4)](https://github.com/ArthurHlt "ArthurHlt (10 commits)")

---

Tags

frameworkiocArhframespring

### Embed Badge

![Health badge](/badges/arhframe-iocart/health.svg)

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

###  Alternatives

[mouf/mouf

The Mouf PHP framework: an open-source PHP framework providing an easy way to download, install, use and reuse components, with a graphical user interface.

55146.0k17](/packages/mouf-mouf)[duohuo/rapphp

php IOC&amp;AOP framework

531.0k1](/packages/duohuo-rapphp)[joomla/di

Joomla DI Package

15391.2k11](/packages/joomla-di)[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)

PHPackages © 2026

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