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

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

aphproach/container
===================

A service container for PHP 8.0+

00[2 issues](https://github.com/aphproach/php-container/issues)PHP

Since Jan 17Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (4)Used By (0)

PHP Container
=============

[](#php-container)

PHP Container is currently an experimental service container used by [aPHProach](https://www.aphproach.com/) for package development. Feel free to use it in your own packages.

The current documentation sucks. Like I said it is still experimental ;)

---

Attributes
==========

[](#attributes)

The service container is configured via attributes. The main goal is making objects more understandable for other developers.

Inject
------

[](#inject)

With the `inject` attribute you can flag a property for dependency injection.

```
