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

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

sugiphp/container
=================

Simple PHP Dependency Injection Container System

1.1.0(10y ago)255711MITPHPPHP &gt;=5.3

Since Dec 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/SugiPHP/Container)[ Packagist](https://packagist.org/packages/sugiphp/container)[ RSS](/packages/sugiphp-container/feed)WikiDiscussions v2.x Synced 3d ago

READMEChangelog (4)DependenciesVersions (6)Used By (1)

SugiPHP Container
=================

[](#sugiphp-container)

[![Build Status](https://camo.githubusercontent.com/4a4c9d0df13cf496da2b87103a7a33adf81ae1ce59c4cb31c9eb35060771a274/68747470733a2f2f7472617669732d63692e6f72672f537567695048502f436f6e7461696e65722e706e67)](https://travis-ci.org/SugiPHP/Container)

Version 2 of the SugiPHP Container implements [`ContainerInterface`](https://github.com/container-interop/container-interop/blob/master/src/Interop/Container/ContainerInterface.php)

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

[](#installation)

```
# stable version (when available)
composer require sugiphp/container ~2.0

# development
composer require sugiphp/container ~2.@dev
```

Usage
-----

[](#usage)

Container is able to store two different data types: objects (services) and parameters.

### Store values

[](#store-values)

```

```

### Get previously stored values and objects

[](#get-previously-stored-values-and-objects)

```
