thedrawingroom/dimaria 问题修复 & 功能扩展

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

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

thedrawingroom/dimaria

Composer 安装命令:

composer require thedrawingroom/dimaria

包简介

A super fast Dependency Injection Container for PHP 7+

README 文档

README

Build Status Scrutinizer Code Quality Code Coverage Build Status Code Climate SensioLabsInsight

DiMaria is a Dependency Injection Container for PHP 7+ with no dependencies. It's written to be extremely fast and lightweight.

Installation

Fetch DiMaria with composer via packagist. Add it with

composer require dangerousdan/dimaria

Usage

DiMaria should work out of the box. Just call get() with the class name you wish to create.

$di = new DD\DiMaria;
$object = $di->get('ClassName');

DiMaria implements the PSR7 Container interface.

DiMaria can:

  • Automatically fetch type-hinted dependencies in classes
  • Set and override parameters and create aliases
  • Set preferences for interfaces or classes
  • Configure classes to return shared or new instances
  • Support variadic parameters
  • Configure Setter injection

For more info, see the docs

DiMaria

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2020-07-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固