PHPackages                             olssonm/blockip - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. olssonm/blockip

ActiveLibrary[Security](/categories/security)

olssonm/blockip
===============

Block requests from specified IPs in Laravel 5.

v6.0.0(5y ago)6241MITPHPPHP &gt;=7.3|^8.0

Since Nov 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/olssonm/blockip)[ Packagist](https://packagist.org/packages/olssonm/blockip)[ Docs](https://github.com/olssonm/blockip)[ RSS](/packages/olssonm-blockip/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (8)Dependencies (2)Versions (10)Used By (0)

Blockip
=======

[](#blockip)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e88cb270158270b12c1ce45d67aadf614ce9b4b604bb4d82a7650d341a3eaaaf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f6c73736f6e6d2f626c6f636b69702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/olssonm/blockip)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/c2381147f4a569142e33e0f46951ac5b34aaeea17ce37e2c98ba47d3a860fdcd/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f6c73736f6e6d2f626c6f636b69702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/olssonm/blockip)

**Block requests from specified IPs quick and easy in Laravel. Highly customizable.**

Version Compatibility
---------------------

[](#version-compatibility)

Laravelblockip5.3.x1.x.x5.4.x2.x.x5.5/5.6/5.7/5.83.x.x^6.04.x.x^7.05.x.x^8.06.x.xInstallation
------------

[](#installation)

Via Composer

```
$ composer require olssonm/blockip
```

Add the service provider to the providers array in `config/app.php` (auto-detection also available in newer Laravel-versions).

```
