承接 mnapoli/php-di-zf1 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

mnapoli/php-di-zf1

最新稳定版本:4.1.0

Composer 安装命令:

composer require mnapoli/php-di-zf1

包简介

Integrates PHP-DI to Zend Framework 1

README 文档

README

This library provides integration for PHP-DI with Zend Framework 1. PHP-DI is a Dependency Injection Container for PHP.

This project also contains the Zend Framework quickstart configured with PHP-DI.

If you are looking for Zend Framework 2 integration, head over here.

Documentation

The full documentation is available on PHP-DI's website.

Zend Framework quickstart

The quickstart is in the quickstart/ folder. You can look at it to see how PHP-DI can be integrated to a ZF1 application.

To run the quickstart, get composer and install the dependencies:

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install

Please be aware that the quickstart uses annotations. Since PHP-DI 5 annotations are disabled by default, please follow the installation instructions to enable them.

Note: I tried not to diverge too much from the official quickstart. So the code may look messy, but that's how the ZF quickstart is ;)

Change log

See https://github.com/PHP-DI/ZF1-Bridge/releases

统计信息

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

GitHub 信息

  • Stars: 26
  • Watchers: 7
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-06-11