PHPackages                             dsijak/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. dsijak/container

ActiveLibrary

dsijak/container
================

Stores objects into static associative array. Without any unnecessary overcomplicated features.

v0.5.0(5y ago)07MITPHPPHP &gt;=7.0

Since May 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/damir-sijakovic/objectContainer)[ Packagist](https://packagist.org/packages/dsijak/container)[ RSS](/packages/dsijak-container/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP Object Container
====================

[](#php-object-container)

Stores objects into static associative array. Without any unnecessary overcomplicated features.

### Install

[](#install)

```
    composer require dsijak/container

```

### Usage

[](#usage)

#### Add object to container:

[](#add-object-to-container)

```
    class One{};
    Dsijak\container('one', new One);

```

#### Get object from container:

[](#get-object-from-container)

```
    $one = Dsijak\container('one');

```

#### Empty container:

[](#empty-container)

```
    Dsijak\container();

```

### Licence

[](#licence)

MIT

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1833d ago

### Community

Maintainers

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

---

Top Contributors

[![damir-sijakovic](https://avatars.githubusercontent.com/u/50234352?v=4)](https://github.com/damir-sijakovic "damir-sijakovic (5 commits)")

---

Tags

php

### Embed Badge

![Health badge](/badges/dsijak-container/health.svg)

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

PHPackages © 2026

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