detailnet / dfw-auth-module
Zend Framework Module for authentication and authorization
Installs: 651
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 2
Open Issues: 0
pkg:composer/detailnet/dfw-auth-module
Requires
- php: ^7.1
- detailnet/dfw-log-module: ^1.1
- zendframework/zend-console: ^2.6
- zendframework/zend-eventmanager: ^3.0.1
- zendframework/zend-http: ^2.5.4
- zendframework/zend-modulemanager: ^2.7.2
- zendframework/zend-mvc: ^3.0.1
- zendframework/zend-navigation: ^2.8.1
- zendframework/zend-servicemanager: ^3.1
- zendframework/zend-stdlib: ^3.0.1
Requires (Dev)
- phpmd/phpmd: ^2.2
- phpunit/phpunit: ^7.0
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ^3.2
- zendframework/zend-authentication: ^2.5.3
- zf-commons/zfc-rbac: ^2.4
- zfcampus/zf-mvc-auth: ^1.3
Suggests
- zendframework/zend-authentication: For usage of the Zend Authentication identity provider adapter
- zendframework/zend-http: For usage of ZfcRbac based REST guard
- zf-commons/zfc-rbac: For usage of ZfcRbac based authorization
- zfcampus/zf-mvc-auth: For usage of ZfcRbac based REST guard
README
Introduction
This module contains tools for authentication (based on the Authentication component for ZF) and authorization (based on ZfcRbac).
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.jsonfile with following contents (or update your existing file accordingly):{ "require": { "detailnet/dfw-auth-module": "^1.0" } }
- 
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\Auth',
- 
Copy vendor/detailnet/dfw-auth-module/config/detail_auth.local.php.distinto your application'sconfig/autoloaddirectory, rename it todetail_auth.local.phpand make the appropriate changes.