detailnet / zf-headers-module
Zend Framework 2 Module for sending proper HTTP headers
Requires
- php: >=5.5.0
- detailnet/dfw-core: ~0.2
- zendframework/zend-http: 2.*
- zendframework/zend-loader: 2.*
- zendframework/zend-modulemanager: 2.*
- zendframework/zend-mvc: 2.*
- zendframework/zend-servicemanager: 2.*
- zendframework/zend-stdlib: 2.*
Requires (Dev)
- phpmd/phpmd: ~2.2
- phpunit/phpunit: ~4.6
- satooshi/php-coveralls: dev-master
- squizlabs/php_codesniffer: ~2.3
This package is auto-updated.
Last update: 2021-05-31 13:17:47 UTC
README
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:
-
cd my/project/directory
-
Create a
composer.json
file with following contents (or update your existing file accordingly):{ "require": { "detailnet/zf-headers-module": "1.x-dev" } }
-
Install Composer via
curl -s http://getcomposer.org/installer | php
(on Windows, download the installer and execute it with PHP) -
Run
php composer.phar self-update
-
Run
php composer.phar install
-
Open
configs/application.config.php
and add following key to yourmodules
:'Detail\Headers',
-
Copy
vendor/detailnet/zf-headers-module/config/detail_headers.local.php.dist
into your application'sconfig/autoload
directory, rename it todetail_headers.local.php
and make the appropriate changes.
Usage
tbd