承接 vcian/laravel-ip-gateway 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vcian/laravel-ip-gateway

Composer 安装命令:

composer require vcian/laravel-ip-gateway

包简介

Blacklist or Whitelist IP of your application routes.

README 文档

README

Software License Total Downloads

Features

  • The Laravel Ip gateway package helps you to blacklist or whitelist IP to prevent unauthorized access to your application.

  • Since blacklists deny access to specific entities, they are best used when a limited number of items need to be denied access. When most entities need to be denied access, a whitelist approach is more efficient.

Requirements

PHP ^8.0

Installation

You can install the package via composer:

composer require vcian/laravel-ip-gateway

After installation, You need to publish the config file for this package. This will add the file config/ip-gateway.php, where you can configure this package.

php artisan vendor:publish

Config Usage (ip-gateway.php)

  • enable_package is used for enable/disable access protection.

  • enable_blacklist when its true that means, It will denied access for registered ips in ip-list, false means, It will allow accessing for registered ips in ip-list.

  • You can authenticated IPs through register route groups in middleware.

  • redirect_route_to will access URL, To redirect if denied.

  • You can define all your whitelist or blacklist IP addresses inside ip-list.

  • If you want to add IP gateway middleware in you custom middleware group then just define your custom middleware group inside middleware

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email ruchit.patel@viitor.cloud instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

Notes

You can create as many whitelists or blacklist groups as you wish to protect access

统计信息

  • 总下载量: 1.61k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 44
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 43
  • Watchers: 2
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-01-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固