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

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

squidit/container-mason
=======================

PSR-11 compatible Interface to unify the creation of new container instances and objects

v2.0.2(1y ago)01.3k1MITPHPPHP ^8.3

Since May 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/squid-it/container-mason)[ Packagist](https://packagist.org/packages/squidit/container-mason)[ RSS](/packages/squidit-container-mason/feed)WikiDiscussions main Synced 1mo ago

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

Container Mason
===============

[](#container-mason)

PSR-11 compatible Interface to unify the creation of new container instances and objects

Why / Use case
--------------

[](#why--use-case)

Currently, there are many different PSR-11 container implementations available. Unfortunately, they do not always work in the same way.

Depending on the container implementation or configuration, fetching an entry from the container can result in different instances of the requested object.

```
