detailnet / dfw-commanding-module
Zend Framework Module for dfw-commanding
Requires
- php: ^7.1
- detailnet/dfw-commanding: ^1.1
- zendframework/zend-eventmanager: ^3.0.1
- zendframework/zend-modulemanager: ^2.7.2
- zendframework/zend-mvc: ^3.0.1
- zendframework/zend-servicemanager: ^3.1
- zendframework/zend-stdlib: ^3.0.1
Requires (Dev)
- detailnet/dfw-log-module: ^1.0.0
- phpmd/phpmd: ^2.2
- phpunit/phpunit: ^7.0
- psr/log: ^1.0
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ^3.2
Suggests
- detailnet/dfw-log-module: For usage of Detail\Commanding\Listener\LoggingListener
README
Introduction
This module integrates the DETAIL Framework library that implements the command pattern with Zend Framework.
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-commanding-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\Commanding',
-
Copy
vendor/detailnet/dfw-commanding-module/config/detail_commanding.local.php.dist
into your application'sconfig/autoload
directory, rename it todetail_commanding.local.php
and make the appropriate changes.