detailnet/dfw-auth-module

Zend Framework Module for authentication and authorization

1.2.0 2018-11-07 14:15 UTC

README

Build Status Coverage Status Latest Stable Version Latest Unstable Version

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:

  1. cd my/project/directory

  2. Create a composer.json file with following contents (or update your existing file accordingly):

    {
        "require": {
            "detailnet/dfw-auth-module": "^1.0"
        }
    }
  3. Install Composer via curl -s http://getcomposer.org/installer | php (on Windows, download the installer and execute it with PHP)

  4. Run php composer.phar self-update

  5. Run php composer.phar install

  6. Open configs/application.config.php and add following key to your modules:

    'Detail\Auth',
  7. Copy vendor/detailnet/dfw-auth-module/config/detail_auth.local.php.dist into your application's config/autoload directory, rename it to detail_auth.local.php and make the appropriate changes.