vangenplotz/ip-range-check
Composer 安装命令:
composer require vangenplotz/ip-range-check
包简介
Checks if users ip is in a range og ips.
README 文档
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
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-30
