eye4web/eye4web-zfc-user-warnings-ban

Ban user by number of warnings/total weight


Keywords
zf2, module, zfcuser
License
MIT

Documentation

Eye4webZfcUserWarningsBan

Build Status Latest Stable Version Latest Unstable Version Code Climate Test Coverage Total Downloads License

Introduction

This module will allow you to ban a user after x amount of warnings or a total warnings weight

Installation

With composer

  1. Add this project composer.json:

    "require": {
        "eye4web/eye4web-zfc-user-warnings-ban": "dev-master"
    }
  2. Now tell composer to download the module by running the command:

    php composer.phar update
  3. Enable it in your application.config.php file.

    <?php
    return array(
        'modules' => array(
            // ...
            'Eye4web\ZfcUser\WarningsBan'
        ),
        // ...
    );
  4. Copy config from config/eye4web-zfcuser-warnings-ban.global.php.dist to your autoload folder.