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

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

baraveli/container
==================

Simple PHP DI container.

v1.0.1(6y ago)015MITPHPCI failing

Since Dec 6Pushed 5y agoCompare

[ Source](https://github.com/baraveli/container)[ Packagist](https://packagist.org/packages/baraveli/container)[ RSS](/packages/baraveli-container/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

Baraveli Container
==================

[](#baraveli-container)

[![Build Status](https://camo.githubusercontent.com/37d097411cc92aa0b0679a1bb57bb27879df5c9eb9216a0525bb96b942c0c8df/68747470733a2f2f7472617669732d63692e6f72672f6261726176656c692f636f6e7461696e65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/baraveli/container)[![Latest Stable Version](https://camo.githubusercontent.com/bad69fb01d1af2d9286a7835bc8c82f1fa734898b48d01c97b4f857401728b42/68747470733a2f2f706f7365722e707567782e6f72672f6261726176656c692f636f6e7461696e65722f762f737461626c65)](https://packagist.org/packages/baraveli/container)[![License](https://camo.githubusercontent.com/fd6cb73f35b845934b41fb0eeca7935a6505c9892972d5c581b17f8e8d9786a8/68747470733a2f2f706f7365722e707567782e6f72672f6261726176656c692f636f6e7461696e65722f6c6963656e7365)](https://packagist.org/packages/baraveli/container)

Simple PHP DI container.

Baraveli Container is a Container class that bind services,config,classes into a registry array and returns the service,config or classes through out the app. Intially created to be used in baraveli packages.

Installation
------------

[](#installation)

```
composer require baraveli/container
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

2

Last Release

2389d ago

### Community

Maintainers

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

---

Tags

baravelibaraveli-containercontainerdependency-injectiondiphpphp-di-container

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[phpstubs/phpstubs

Contains PHP Stubs which can be used by IDEs, or static analysis tools

5816.8k](/packages/phpstubs-phpstubs)

PHPackages © 2026

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