vangenplotz / ip-range-check
Checks if users ip is in a range og ips.
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:craft-plugin
Requires
- craftcms/cms: ^3.0.0-RC1
- mlocati/ip-lib: ^1.6
This package is auto-updated.
Last update: 2025-03-07 02:15:19 UTC
README
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require vangenplotz/craft3-iprangecheck/
-
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
- Copy the config.php over to craft/config/ip-range-check.php and insert your ip ranges.
- 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