PHPackages                             zero-to-prod/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. zero-to-prod/container

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

zero-to-prod/container
======================

A PSR Compliant Container.

v0.2.0(1y ago)13.8k↓100%1MITPHPPHP &gt;=7.1CI passing

Since Feb 13Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/zero-to-prod/container)[ Packagist](https://packagist.org/packages/zero-to-prod/container)[ Docs](https://github.com/zero-to-prod/container)[ Fund](https://github.com/sponsors/zero-to-prod)[ RSS](/packages/zero-to-prod-container/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (3)Versions (6)Used By (1)

Zerotoprod\\Container
=====================

[](#zerotoprodcontainer)

[![](art/logo.png)](art/logo.png)

[![Repo](https://camo.githubusercontent.com/9a90a3efeee26aed7d7f2feee9cd84566a26f9c362cc773b184d076210906e1c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6769746875622d677261793f6c6f676f3d676974687562)](https://github.com/zero-to-prod/container)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/062fad4ced62c2a25ed93615904cc5d27efc12693751d0bd579784af5e75fe71/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a65726f2d746f2d70726f642f636f6e7461696e65722f746573742e796d6c3f6c6162656c3d74657374)](https://github.com/zero-to-prod/container/actions)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/0ae92001232a0bda00878de6204c55a065daa6c37f4b3b24506796e1d8160256/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a65726f2d746f2d70726f642f636f6e7461696e65722f6261636b77617264735f636f6d7061746962696c6974792e796d6c3f6c6162656c3d6261636b77617264735f636f6d7061746962696c697479)](https://github.com/zero-to-prod/container/actions)[![Packagist Downloads](https://camo.githubusercontent.com/c054ff1702f4b0f231c8917a24c84314e2b1898b69e7cf56c0db620e2e54d2f8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a65726f2d746f2d70726f642f636f6e7461696e65723f636f6c6f723d626c7565)](https://packagist.org/packages/zero-to-prod/container/stats)[![php](https://camo.githubusercontent.com/473813d38cec352e6b9bab103e33ad46cafb564cf4fcfeb72039862837d0485e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7a65726f2d746f2d70726f642f636f6e7461696e65722e7376673f636f6c6f723d707572706c65)](https://packagist.org/packages/zero-to-prod/container/stats)[![Packagist Version](https://camo.githubusercontent.com/43b685830976826582b5a7968a5f81fffe2639c5e3323d8e54cef683fb541539/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a65726f2d746f2d70726f642f636f6e7461696e65723f636f6c6f723d663238643161)](https://packagist.org/packages/zero-to-prod/container)[![License](https://camo.githubusercontent.com/6bd90e3ea7715ff564dcf293cbd37d0344fe57589b061ae82d584dfd73942daa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7a65726f2d746f2d70726f642f636f6e7461696e65723f636f6c6f723d70696e6b)](https://github.com/zero-to-prod/container/blob/main/LICENSE.md)[![wakatime](https://camo.githubusercontent.com/8515f306a26196303f9278415ad655a73fb21d9e6d8a936e3bd00bf837519bdb/68747470733a2f2f77616b6174696d652e636f6d2f62616467652f6769746875622f7a65726f2d746f2d70726f642f636f6e7461696e65722e737667)](https://wakatime.com/badge/github/zero-to-prod/container)[![Hits-of-Code](https://camo.githubusercontent.com/cb036c75df2897c62a51b5aaddcb27b96f0378ff13e736291c74c97d5e3bbb48/68747470733a2f2f686974736f66636f64652e636f6d2f6769746875622f7a65726f2d746f2d70726f642f636f6e7461696e65723f6272616e63683d6d61696e)](https://hitsofcode.com/github/zero-to-prod/container/view?branch=main)

Contents
--------

[](#contents)

- [Introduction](#introduction)
- [Requirements](#requirements)
- [Installation](#installation)
- [Documentation Publishing](#documentation-publishing)
    - [Automatic Documentation Publishing](#automatic-documentation-publishing)
- [Usage](#usage)
- [Local Development](./LOCAL_DEVELOPMENT.md)
- [Contributing](#contributing)

Introduction
------------

[](#introduction)

A PSR Compliant Container.

Requirements
------------

[](#requirements)

- PHP 7.1 or higher.

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

[](#installation)

Install `Zerotoprod\Container` via [Composer](https://getcomposer.org/):

```
composer require zero-to-prod/container
```

This will add the package to your project's dependencies and create an autoloader entry for it.

Documentation Publishing
------------------------

[](#documentation-publishing)

You can publish this README to your local documentation directory.

This can be useful for providing documentation for AI agents.

This can be done using the included script:

```
# Publish to default location (./docs/zero-to-prod/container)
vendor/bin/zero-to-prod-container

# Publish to custom directory
vendor/bin/zero-to-prod-container /path/to/your/docs
```

### Automatic Documentation Publishing

[](#automatic-documentation-publishing)

You can automatically publish documentation by adding the following to your `composer.json`:

```
{
    "scripts": {
        "post-install-cmd": [
            "zero-to-prod-container"
        ],
        "post-update-cmd": [
            "zero-to-prod-container"
        ]
    }
}
```

Usage
-----

[](#usage)

Contributing
------------

[](#contributing)

Contributions, issues, and feature requests are welcome! Feel free to check the [issues](https://github.com/zero-to-prod/container/issues) page if you want to contribute.

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Commit changes (`git commit -m 'Add some feature'`).
4. Push to the branch (`git push origin feature-branch`).
5. Create a new Pull Request.

###  Health Score

29

↑

LowBetter than 63% of packages

Maintenance58

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity26

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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

402d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/502649f05d36c87d494988bd99193a4d908d345335d99c080928a726277371f5?d=identicon)[zero-to-prod](/maintainers/zero-to-prod)

---

Top Contributors

[![zero-to-prod](https://avatars.githubusercontent.com/u/61474950?v=4)](https://github.com/zero-to-prod "zero-to-prod (13 commits)")

---

Tags

containerzero-to-prod

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zero-to-prod-container/health.svg)

```
[![Health](https://phpackages.com/badges/zero-to-prod-container/health.svg)](https://phpackages.com/packages/zero-to-prod-container)
```

###  Alternatives

[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k129.1M1.3k](/packages/pimple-pimple)[php-di/php-di

The dependency injection container for humans

2.8k47.0M865](/packages/php-di-php-di)[league/container

A fast and intuitive dependency injection container.

86585.7M306](/packages/league-container)[aura/di

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

357963.4k49](/packages/aura-di)[league/tactician-container

Tactician integration for any container implementing PSR-11

7710.0M18](/packages/league-tactician-container)[acclimate/container

Provides adapters for various third-party service containers.

219388.6k15](/packages/acclimate-container)

PHPackages © 2026

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