aztech/phinject 问题修复 & 功能扩展

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

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

aztech/phinject

最新稳定版本:0.2.9

Composer 安装命令:

composer require aztech/phinject

包简介

PHP Dependency Injection Container

README 文档

README

Build Status Scrutinizer Code Quality Code Coverage HHVM Support

License Latest Stable Version

Phinject is a simple dependency injection container, with extensible activation & injection strategies.

Setup

Composer is the only supported way of installing Phinject. From the root of your project, run the following command:

composer require aztech/phinject

Features

  • Compatible with the container-interop specification
  • Compatible with delegate containers.
  • YAML, JSON or PHP based configuration.
  • Lazy-loading dependencies.
  • Remote proxies (undocumented).
  • Aliases (undocumented).
  • Extensible configuration syntax (undocumented).

Usage

The documentation is available here.

We have a getting started guide, followed by more comprehensive documentation (although not yet exhaustive, but that will come):

Note All the documentation examples are written using a YAML based configuration, however, you can also use JSON or PHP configuration files. (TODO: Document usage of PHP & JSON config file)

Credits

This library is originally a fork on oliviermadre/dic-it, available here.

Most of the core features have however been refactored or rewritten, enough that I felt it was time to re-brand this package, in order to both prevent confusion with the original package, and because I did not like the name.

统计信息

  • 总下载量: 313
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-26