detailnet/zf-headers-module

This package is abandoned and no longer maintained. No replacement package was suggested.

Zend Framework 2 Module for sending proper HTTP headers

0.1.1 2015-10-13 12:49 UTC

This package is auto-updated.

Last update: 2021-05-31 13:17:47 UTC


README

Build Status Coverage Status Latest Stable Version Latest Unstable Version

Introduction

This module currently only fixes a bug in ZF related to sending proper Content-Length headers.

Requirements

Zend Framework 2 Skeleton Application (or compatible architecture)

Installation

Install the module through Composer using the following steps:

  1. cd my/project/directory

  2. Create a composer.json file with following contents (or update your existing file accordingly):

    {
        "require": {
            "detailnet/zf-headers-module": "1.x-dev"
        }
    }
  3. Install Composer via curl -s http://getcomposer.org/installer | php (on Windows, download the installer and execute it with PHP)

  4. Run php composer.phar self-update

  5. Run php composer.phar install

  6. Open configs/application.config.php and add following key to your modules:

    'Detail\Headers',
  7. Copy vendor/detailnet/zf-headers-module/config/detail_headers.local.php.dist into your application's config/autoload directory, rename it to detail_headers.local.php and make the appropriate changes.

Usage

tbd