vangenplotz/ip-range-check

Checks if users ip is in a range og ips.

0.0.4 2018-10-31 08:50 UTC

This package is auto-updated.

Last update: 2024-04-06 23:57:41 UTC


README

Screenshot

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require vangenplotz/craft3-iprangecheck/
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Ip Range Check.

Ip Range Check Overview

-Insert text here-

Configuring Ip Range Check

-Insert text here-

Using Ip Range Check

  1. Copy the config.php over to craft/config/ip-range-check.php and insert your ip ranges.
  2. use the craft.ipRangeCheck.checkValidIp to check if current ip is valid. Will return an array with access set to true / false, and the user message.

Ip Range Check Roadmap

Some things to do, and ideas for potential features:

  • Release it

Brought to you by Vangenplotz