PHPackages                             zapheus/psr-11-bridge - 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. zapheus/psr-11-bridge

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

zapheus/psr-11-bridge
=====================

PSR-11 bridge for Zapheus framework.

06PHPCI failing

Since Sep 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zapheus/psr-11-bridge)[ Packagist](https://packagist.org/packages/zapheus/psr-11-bridge)[ RSS](/packages/zapheus-psr-11-bridge/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PSR-11 Bridge
=============

[](#psr-11-bridge)

[![Latest Version on Packagist](https://camo.githubusercontent.com/aa0441b53c258cf667a41b484efbf9dc11c99781dbc53317509a34ca524a9c9a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6170686575732f7073722d31312d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zapheus/psr-11-bridge)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/zapheus/psr-11-bridge/blob/master/LICENSE.md)[![Build Status](https://camo.githubusercontent.com/ef59678757e70c7c7320338d3e241b6f12dff68b925305bf8f1c35ad03881878/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7a6170686575732f7073722d31312d6272696467652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/zapheus/psr-11-bridge)[![Coverage Status](https://camo.githubusercontent.com/74a6e7516583babc9f9a28c9084e96b8ebbe2370295d187c69e29d97379d35e8/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7a6170686575732f7073722d31312d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/zapheus/psr-11-bridge/code-structure)[![Quality Score](https://camo.githubusercontent.com/2d7fc131161d314e8ecb5003920fd2683e8aa8391e280bd1c187efd433d19b3b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7a6170686575732f7073722d31312d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/zapheus/psr-11-bridge)[![Total Downloads](https://camo.githubusercontent.com/e94e12c5ca9a4219470296450135cc605cc8cd7fef7758a238ae439e98e7f534/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6170686575732f7073722d31312d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zapheus/psr-11-bridge)

Converts [PSR-11](http://www.php-fig.org/psr/psr-11) containers to [Zapheus](https://github.com/zapheus/zapheus) containers and vice versa. Also contains an implementation of [PSR-11](http://www.php-fig.org/psr/psr-11).

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

[](#installation)

Install `PSR-11 Bridge` via [Composer](https://getcomposer.org/):

```
$ composer require zapheus/psr-11-bridge
```

Basic Usage
-----------

[](#basic-usage)

### PSR-11 to Zapheus

[](#psr-11-to-zapheus)

Install a PSR-11 compliant package first (e.g [League Container](http://container.thephpleague.com)):

```
$ composer require league/container
```

```
use Zapheus\Bridge\Psr\Zapheus\Container;

$psr = new League\Container\Container;

// ... set dependencies here

// Zapheus\Container\ContainerInterface
$container = new Container($psr);
```

### Zapheus to PSR-11

[](#zapheus-to-psr-11)

```
use Zapheus\Bridge\Psr\Interop\Container;

$zapheus = new Zapheus\Container\Container;

// ... set dependencies here

// Psr\Container\ContainerInterface
$container = new Container($zapheus);
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](https://github.com/zapheus/psr-11-bridge/blob/master/CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Credits
-------

[](#credits)

- [All contributors](https://github.com/zapheus/psr-11-bridge/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](https://github.com/zapheus/psr-11-bridge/blob/master/LICENSE.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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.

### Community

Maintainers

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

---

Top Contributors

[![rougin](https://avatars.githubusercontent.com/u/6078637?v=4)](https://github.com/rougin "rougin (35 commits)")

### Embed Badge

![Health badge](/badges/zapheus-psr-11-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/zapheus-psr-11-bridge/health.svg)](https://phpackages.com/packages/zapheus-psr-11-bridge)
```

###  Alternatives

[aura/di

A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.

352982.2k60](/packages/aura-di)[maclof/kubernetes-client

A simple yet elegant client for accessing and controlling a Kubernetes cluster.

234907.8k4](/packages/maclof-kubernetes-client)[icamys/php-sitemap-generator

Simple PHP sitemap generator.

175356.9k7](/packages/icamys-php-sitemap-generator)

PHPackages © 2026

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