detailnet / dfw-log-module
Zend Framework Module for logging
Requires
- php: ^7.1
- psr/log: ^1.0
- zendframework/zend-modulemanager: ^2.7.2
- zendframework/zend-mvc: ^3.0.1
- zendframework/zend-servicemanager: ^3.1
Requires (Dev)
- phpmd/phpmd: ^2.2
- phpunit/phpunit: ^7.0
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ^3.2
README
Introduction
This module simplifies logging for a Zend Framework application.
Requirements
Zend Framework 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/dfw-log-module": "^1.1" } }
-
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\Log',
-
Copy
vendor/detailnet/dfw-log-module/config/detail_log.local.php.dist
into your application'sconfig/autoload
directory, rename it todetail_log.local.php
and make the appropriate changes.