studiocreativateam/ip-blocker-laravel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

studiocreativateam/ip-blocker-laravel

Composer 安装命令:

composer require studiocreativateam/ip-blocker-laravel

包简介

IP Blocker Laravel (https://studio-creativa.pl)

README 文档

README

Block routes by IP

Requirements

Laravel 7.x and 8.x

Installation

1) To install through composer, run the following command from terminal:

    $ composer require studiocreativateam/ip-blocker-laravel

2) Publish the config file:

Run the following command to publish the package config file:

    $ php artisan ip-blocker:publish
    $ php artisan migrate

3) Enable the interception of attempts to find pages that do not exist to report to IP Blocker by making the following change to your: App/Exceptions/Handler.php

    public function render($request, Throwable $e)
    {
        if (app()->bound('ip-blocker')) {
            app('ip-blocker')->render($request, $e);
        }
        return parent::render($request, $e);
    }

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2022-02-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固