Skip to content

A Zend Framework 2 module that helps developing Zend Framework 2 applications with Zend Studio

License

Notifications You must be signed in to change notification settings

zendtech/zend-studio-development-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zend Studio Development Mode

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.

About

A Zend Framework 2 module that helps developing Zend Framework 2 applications with Zend Studio

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages