PHPackages                             zloynick/joole-components-container - 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. zloynick/joole-components-container

ActiveJoole-component[Framework](/categories/framework)

zloynick/joole-components-container
===================================

8.1.3.1(4y ago)0171GPL-3.0+PHPPHP 8.1.\*

Since Apr 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ZloyNick/joole-components-container)[ Packagist](https://packagist.org/packages/zloynick/joole-components-container)[ RSS](/packages/zloynick-joole-components-container/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (1)

Joole Component: Containers
===========================

[](#joole-component-containers)

This component allows you to register containers with objects, "pulling" dependencies from other containers. The component is based on the [joole-containers](https://github.com/ZloyNick/joole-containers) library.

Getting started
---------------

[](#getting-started)

- Install this dependency via composer: `composer install zloynick/joole-components-container`

Configuration
-------------

[](#configuration)

Add to components this in your joole.php configuration file:

```

'components' => [
        ...,
        [
            'name' => 'containers',
            'class' => \joole\components\containers\ContainersComponent::class,
            // Containers and their configuration.
            'options' => [
                'main' => [
                    ...,
                    ['class' => \joole\reflector\Reflector::class,],
                    ...,
                ],
                // You also can use dependencies for object building with:
                'my_custom_container' => [
                    ...
                    [
                        'class' => '\YourClass',
                        // A "YourClass" object will be created using a Reflector object from another container
                        // if there is a "Reflector" type parameter in the object constructor.
                        'depends' => [
                            [
                                'class' => \joole\reflector\Reflector::class,
                                'owner' => 'main',
                            ],
                        ]
                    ],
                ],
                // The component also accepts input parameters for objects. Each of the parameters
                // is a data type and it is important to understand this.
                'events_container' => [
                    [
                        'class' => '\EventStack',
                        // EventStack::__construct(bool $cleanAfterExecution, array $allowedEvents)
                        'params' => [
                            'cleanAfterExecution' => true,
                            'allowedEvents' => [
                                '\CustomEvent1',
                                '\CustomEvent2',
                            ],
                        ],
                    ]
                ]
            ],
            'routes' => __DIR__.'/routes/',
        ],
        ...,
    ],

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Total

3

Last Release

1521d ago

### Community

Maintainers

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

---

Top Contributors

[![ZloyNick](https://avatars.githubusercontent.com/u/23015694?v=4)](https://github.com/ZloyNick "ZloyNick (5 commits)")

---

Tags

componentcontainersjoolejoole-frameworkjoole-componentjoole-containers

### Embed Badge

![Health badge](/badges/zloynick-joole-components-container/health.svg)

```
[![Health](https://phpackages.com/badges/zloynick-joole-components-container/health.svg)](https://phpackages.com/packages/zloynick-joole-components-container)
```

###  Alternatives

[atk4/ui

Agile UI - Web Component Framework written in PHP

457541.3k33](/packages/atk4-ui)[magewirephp/magewire

A framework that makes building reactive and dynamic interfaces simple in Magento 2

2601.4M38](/packages/magewirephp-magewire)[contributte/application

Extra contrib to nette/application

352.8M8](/packages/contributte-application)[pradosoft/prado

Component Framework for PHP

19292.4k27](/packages/pradosoft-prado)[kompo/kompo

Laravel &amp; Vue.js FullStack Components for Rapid Application Development

11914.4k42](/packages/kompo-kompo)

PHPackages © 2026

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