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

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

stellarwp/foundation-container
==============================

The Foundation DI container and its contracts.

1.3.0(3w ago)0474GPL-2.0-or-laterPHPPHP &gt;=8.3

Since Jun 2Pushed 3w agoCompare

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

READMEChangelogDependencies (8)Versions (5)Used By (4)

Foundation Container
====================

[](#foundation-container)

Warning

**This is a read-only repository!** For pull requests or issues, see [stellarwp/foundation](https://github.com/stellarwp/foundation).

The DI Container configuration and Service Provider implementation, utilizing [di52](https://github.com/lucatume/di52).

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

[](#installation)

```
composer require stellarwp/foundation-container
```

Container Configuration
-----------------------

[](#container-configuration)

Create a new ContainerAdapter, by passing in an instance of di52:

```
