Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 1.03 KB

README.md

File metadata and controls

45 lines (24 loc) · 1.03 KB

Ip Range Check plugin for Craft CMS 3.x

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