PHPackages                             megaads/prevent-ip - 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. megaads/prevent-ip

ActiveLibrary[Security](/categories/security)

megaads/prevent-ip
==================

1.1.1(4y ago)09PHPPHP &gt;=5.4.0

Since Apr 15Pushed 4y ago5 watchersCompare

[ Source](https://github.com/megaads-vn/prevent-ip)[ Packagist](https://packagist.org/packages/megaads/prevent-ip)[ RSS](/packages/megaads-prevent-ip/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

prevent-ip
==========

[](#prevent-ip)

Prevent Ip in Laravel 4

Installation
------------

[](#installation)

1. Require the composer package

    `composer require megaads/prevent-ip`
2. Register the provider:

    `Megaads\PreventIp\PreventIpServiceProvider`
3. Add file prevent-ip.php in config:

    ```
    return [
        'enable' => true,
        'prevent_paths' => [
            'system/home'
        ],
        'allow_ips' => [
            '127.0.0.1'
        ],
        'email_receive_request' => 'author@gmail.com',
        'email_service_user' => 'abc@example.com',
        'email_service_password' => 'xxx',
        'email_service_url' => 'http://example.com/',
    ];```

    ```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

1493d ago

Major Versions

0.0.1 → 1.0.12022-04-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/72ad425c743522a807fd15e2a7b0ada9c2a2127ecca76fbef37cf9292022006a?d=identicon)[megaads-vn](/maintainers/megaads-vn)

---

Top Contributors

[![diem95](https://avatars.githubusercontent.com/u/25625286?v=4)](https://github.com/diem95 "diem95 (5 commits)")

### Embed Badge

![Health badge](/badges/megaads-prevent-ip/health.svg)

```
[![Health](https://phpackages.com/badges/megaads-prevent-ip/health.svg)](https://phpackages.com/packages/megaads-prevent-ip)
```

###  Alternatives

[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)[tzsk/otp

A secure, database-free One-Time Password (OTP) generator and verifier for PHP and Laravel.

241641.4k1](/packages/tzsk-otp)[genealabs/laravel-governor

Managing policy and control in Laravel.

201262.8k](/packages/genealabs-laravel-governor)[dgtlss/warden

A Laravel package that proactively monitors your dependencies for security vulnerabilities by running automated composer audits and sending notifications via webhooks and email

8745.6k](/packages/dgtlss-warden)[ercsctt/laravel-file-encryption

Secure file encryption and decryption for Laravel applications

642.6k](/packages/ercsctt-laravel-file-encryption)[laragear/poke

Keep your forms alive, avoid TokenMismatchException by gently poking your Laravel app

2211.5k](/packages/laragear-poke)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
