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

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

moon-php/container
==================

A very simple Container with support for PSR-11

v0.2(7y ago)21.4k↓43.8%PHPPHP &gt;=7.1

Since Jul 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/moon-php/container)[ Packagist](https://packagist.org/packages/moon-php/container)[ RSS](/packages/moon-php-container/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (7)Versions (4)Used By (0)

Moon - Container
================

[](#moon---container)

[![Coverage Status](https://camo.githubusercontent.com/11937d0a38b8b58e5262a2267db9c3b64ccf07056f226649f824cab8f1298202/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d6f6f6e2d7068702f636f6e7461696e65722f62616467652e737667)](https://coveralls.io/github/moon-php/container)[![Build Status](https://camo.githubusercontent.com/43f8d2d2ed42640ccca8882e3bd4fcfd407bcdaad882adf0a5ea83304e52572a/68747470733a2f2f7472617669732d63692e6f72672f6d6f6f6e2d7068702f636f6e7461696e65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/moon-php/container)[![Conventional Commits](https://camo.githubusercontent.com/90d8aeee02dec6f5ceeb0423b9ba1aea93519cadbfcb13d62770ac6550780d6e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6e76656e74696f6e616c253230436f6d6d6974732d312e302e302d79656c6c6f772e737667)](https://conventionalcommits.org)[![PHPStan](https://camo.githubusercontent.com/441b5874ce4df0a2defc892979c96c46889b69cb32119d04f0b48626349f8bc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/phpstan/phpstan)

Official Documentation
----------------------

[](#official-documentation)

Documentation can be found on the [Moon website](http://www.moon-php.com/docs/container/).

Tests
-----

[](#tests)

To execute the test suite, you'll need phpunit. *It's a dev-dependency of this package*

```
$ php vendon/bin/phpunit
```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Learn More
----------

[](#learn-more)

Learn more at these links:

- [Moon Website](http://www.moon-php.com)

Security
--------

[](#security)

If you discover security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The Moon Container is licensed under the MIT license. See [License File](LICENSE) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~418 days

Total

2

Last Release

2858d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/819d5c3f2d019dc8e4d0ad028ee76ef207a2bc201cb7dc70ffe3105e3997d881?d=identicon)[damianopetrungaro](/maintainers/damianopetrungaro)

---

Top Contributors

[![damianopetrungaro](https://avatars.githubusercontent.com/u/8950503?v=4)](https://github.com/damianopetrungaro "damianopetrungaro (21 commits)")

---

Tags

containermoonmoon-phpphppsr-11

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/moon-php-container/health.svg)

```
[![Health](https://phpackages.com/badges/moon-php-container/health.svg)](https://phpackages.com/packages/moon-php-container)
```

###  Alternatives

[symfony/contracts

A set of abstractions extracted out of the Symfony components

3.9k65.9M138](/packages/symfony-contracts)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M339](/packages/api-platform-core)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k53](/packages/ecotone-ecotone)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[api-platform/state

API Platform state interfaces

274.9M136](/packages/api-platform-state)[wikimedia/parsoid

Parsoid, a bidirectional parser between wikitext and HTML5

187557.3k3](/packages/wikimedia-parsoid)

PHPackages © 2026

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