承接 zend/zend-studio-development-mode 相关项目开发

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

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

zend/zend-studio-development-mode

最新稳定版本:1.0.2

Composer 安装命令:

composer require zend/zend-studio-development-mode

包简介

Zend Framework 2 module that helps the Zend Framework 2 application to be developed with Zend Studio

README 文档

README

Zend Framework module that helps developing Zend Framework applications with Zend Studio.

Introduction

This module adds the following configuration to the Zend Framework application:

  • Adds a Cache-Control: no-cache header to the response object to avoid caching in Internet Explorer.
  • Changes the Origin: file:// header in the request object sent by Android 4.x devices to Origin: file:/// to avoid failure when using the ZfrCors module.

NOTE

DO NOT enable this module in production systems.

Installation

Run the following composer command:

$ composer require --dev "zend/zend-studio-development-mode:^1.0"

Alternately, manually add the following to your composer.json, in the require section:

"require-dev": {
    "zend/zend-studio-development-mode": "^1.0"
}

And then run composer update to ensure the module is installed.

Finally, add the module name to your project's config/development.config.php under the modules key:

return array(
    /* ... */
    'modules' => array(
        /* ... */
        'ZendStudioDevelopmentMode',
    ),
    /* ... */
);

Typically, this module should be used along with zf-development-mode in order to conditionally enable the module in your application. When doing so, you will add the module to your project's config/development.config.php.dist file instead of the config/application.config.php file, and enable it via php public/index.php development enable.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-05-22