php-kitchen/yii2-di 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

php-kitchen/yii2-di

Composer 安装命令:

composer require php-kitchen/yii2-di

包简介

Advanced Dependency Injection container built on top of default Yii2 container.

README 文档

README

Advanced Dependency Injection Container fo Yii 2.

Package information

Latest Stable Version Total downloads Monthly Downloads Licensing
Latest Stable Version Total Downloads Monthly Downloads License

Requirements

PHP >=7.4 is required.

Getting Started

Run the following command to add Yii2 Container to your project's composer.json. See Packagist for specific versions.

composer require php-kitchen/yii2-di

Or you can copy this library from:

Then add following line of code in you application entry point or bootstrap file:

Yii::$container = new \PHPKitchen\DI\Container();
spl_autoload_unregister([\PHPKitchen\DI\autoload\ClassLoader::class, 'loadClass']);

For additional information and guides go to the project documentation

Upgrade from 0.0.9

In 0.1.0 yii\base\Object changed to yii\base\BaseObject to support PHP 7.2 but it means that you need yii 2.0.13 and higher.

Contributing

If you want to ask any questions, suggest improvements or just to talk with community and developers, join our server at Discord

Build status

CI status Code quality
Build Status Scrutinizer Code Quality

统计信息

  • 总下载量: 1.87k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 4
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-10-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固