PHPackages                             laravel-bridge/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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. laravel-bridge/container

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

laravel-bridge/container
========================

The PSR-11 container bridges

v1.1.0(6y ago)14041MITPHPPHP &gt;=7.1CI failing

Since Mar 8Pushed 6y ago1 watchersCompare

[ Source](https://github.com/laravel-bridge/container)[ Packagist](https://packagist.org/packages/laravel-bridge/container)[ RSS](/packages/laravel-bridge-container/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (4)Dependencies (9)Versions (5)Used By (1)

Container Bridge
================

[](#container-bridge)

[![Build Status](https://camo.githubusercontent.com/0c36572b76d439ae95d40e8cb7ffdae86a5355817532a4dc8abbe77483fabd51/68747470733a2f2f7472617669732d63692e636f6d2f6c61726176656c2d6272696467652f737570706f72742e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/laravel-bridge/container)[![codecov](https://camo.githubusercontent.com/c8a82ad77ad88e9165de10e2b229df5ac67136bebad7e140221c8d8c69752c08/68747470733a2f2f636f6465636f762e696f2f67682f6c61726176656c2d6272696467652f737570706f72742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/laravel-bridge/container)[![Codacy Badge](https://camo.githubusercontent.com/90b50385a4488f92b2432b61f8dbe5c327daba256ff1b993425120adebffd04c/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3738626435326363383434343433643562663865613166616630393637616634)](https://www.codacy.com/gh/laravel-bridge/container)[![Latest Stable Version](https://camo.githubusercontent.com/e6c6c84eb875f1afc366cd9d9765c8b4dbc266b5ae8215488046f70335cb9c7e/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f7061726b646f776e2f762f737461626c65)](https://packagist.org/packages/laravel-bridge/container)[![Total Downloads](https://camo.githubusercontent.com/5ccbbec1684e23e3867a0de90e457cf24c2c9bd7085ba90072e9222631106414/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f7061726b646f776e2f642f746f74616c2e737667)](https://packagist.org/packages/laravel-bridge/container)[![License](https://camo.githubusercontent.com/006fe5142c669aea3ca69d04e6455356c53890645c20a493341477e05b8d4a24/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f7061726b646f776e2f6c6963656e7365)](https://packagist.org/packages/laravel-bridge/container)

The PSR-11 container bridges.

Pimple container interface bridge to others
-------------------------------------------

[](#pimple-container-interface-bridge-to-others)

Build the wrapper.

```
// Laravel Container
$actualContainer = new \Illuminate\Container\Container();
$actualContainer->instance('foo', 'foo');

$wrapper = new \LaravelBridge\Container\Pimple\ContainerWrapper();
$wrapper->setContainer($actualContainer);

// Use like the Pimple Container, but it will register on Laravel Container
$wrapper['bar'] = function($c) {
    return 'bar' . $c->get('foo');
};

$wrapper->get('bar'); // 'barfoo'
$actualContainer->make('bar'); // 'barfoo'
```

Use ServiceProvider bridge

```
// Laravel Container
$actualContainer = new \Illuminate\Container\Container();

$bridge = new \LaravelBridge\Container\Pimple\ServiceProviderBridge($actualContainer);

$bridge->register(new YourPimpleServiceProvider());
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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

Total

4

Last Release

2257d ago

Major Versions

v0.2.0 → v1.0.02020-03-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/20872dcc4b888075f03819d5470db8198ffcc5f9edb791aba5f007e34355a6c9?d=identicon)[MilesChou](/maintainers/MilesChou)

---

Top Contributors

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

---

Tags

containerpsr11

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[php-di/php-di

The dependency injection container for humans

2.8k48.9M994](/packages/php-di-php-di)[lctrs/psalm-psr-container-plugin

Let Psalm understand better psr11 containers

17648.1k13](/packages/lctrs-psalm-psr-container-plugin)[phpwatch/simple-container

A fast and minimal PSR-11 compatible Dependency Injection Container with array-syntax and without auto-wiring

1810.1k2](/packages/phpwatch-simple-container)

PHPackages © 2026

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