PHPackages                             gspataro/dependencyinjection - 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. [Framework](/categories/framework)
4. /
5. gspataro/dependencyinjection

ActiveLibrary[Framework](/categories/framework)

gspataro/dependencyinjection
============================

A dependency injection container component to handle the booting process of your application

1.0.0(3y ago)0241MITPHPPHP &gt;=8.0

Since Jul 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/gspataro/DependencyInjection)[ Packagist](https://packagist.org/packages/gspataro/dependencyinjection)[ RSS](/packages/gspataro-dependencyinjection/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (1)

GSpataro/DependencyInjection
============================

[](#gspatarodependencyinjection)

A dependency injection container component made to handle the booting process of your application easier.

---

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

[](#installation)

> **Requires \[PHP 8.0+\]([PHP: Releases](https://www.php.net/releases/))**

To install this package you have to require it with [Composer](https://getcomposer.org):

```
composer require gspataro/dependencyinjection

```

---

Quick start
-----------

[](#quick-start)

The fastest way to use the container is to initialize it and provide the services that you need:

```
