PHPackages                             horat1us/yii2-di-bootstrap - 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. horat1us/yii2-di-bootstrap

ActiveLibrary[Framework](/categories/framework)

horat1us/yii2-di-bootstrap
==========================

Yii2 DI Container Bootstrap

1.1.1(6y ago)01.4k[1 PRs](https://github.com/Horat1us/yii2-di-bootstrap/pulls)MITPHPPHP &gt;=7.2

Since Mar 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Horat1us/yii2-di-bootstrap)[ Packagist](https://packagist.org/packages/horat1us/yii2-di-bootstrap)[ RSS](/packages/horat1us-yii2-di-bootstrap/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (3)Versions (5)Used By (0)

Yii2 Dependency Intection Bootstraping
======================================

[](#yii2-dependency-intection-bootstraping)

[![Build Status](https://camo.githubusercontent.com/ac175049deed7699a564264831ddfeb35c62959efb91aad837c63e55932b3bbb/68747470733a2f2f7472617669732d63692e6f72672f486f7261743175732f796969322d64692d626f6f7473747261702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Horat1us/yii2-di-bootstrap)[![codecov](https://camo.githubusercontent.com/40a35e35f04ba8092fc75cd223a500bea228cb90a1d9fb28c4859599f53e79a9/68747470733a2f2f636f6465636f762e696f2f67682f486f7261743175732f796969322d64692d626f6f7473747261702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Horat1us/yii2-di-bootstrap)

This package provides abstract bootstrap for Yii2 dependency injection container. It have to be extended in packages with specifying available for configuration dependencies.

Main purpose of this package to prevent invalid container configuration.

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

[](#installation)

Using [packagist.org](https://packagist.org/packages/horat1us/yii2-di-bootstrap):

```
composer require horat1us/yii2-di-bootstrap:^1.1
```

Usage
-----

[](#usage)

### Implement DI Bootstrap in your package

[](#implement-di-bootstrap-in-your-package)

```
