detailnet / zf-headers-module
Zend Framework 2 Module for sending proper HTTP headers
Installs: 198
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 1
Open Issues: 0
pkg:composer/detailnet/zf-headers-module
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.jsonfile 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.phpand add following key to yourmodules:'Detail\Headers', -
Copy
vendor/detailnet/zf-headers-module/config/detail_headers.local.php.distinto your application'sconfig/autoloaddirectory, rename it todetail_headers.local.phpand make the appropriate changes.
Usage
tbd