PHPackages                             msp/adminrestriction - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. msp/adminrestriction

ActiveMagento2-module[Authentication &amp; Authorization](/categories/authentication)

msp/adminrestriction
====================

Magento2 Admin IP based restriction - Member of MageSpecialist SecuritySuite

1.4.0(4y ago)15343.0k↓55%6[9 issues](https://github.com/magespecialist/m2-MSP_AdminRestriction/issues)2OSL 3.0PHPPHP ^7.0|^8.0.0|^8.1.0

Since Jul 15Pushed 4y ago5 watchersCompare

[ Source](https://github.com/magespecialist/m2-MSP_AdminRestriction)[ Packagist](https://packagist.org/packages/msp/adminrestriction)[ RSS](/packages/msp-adminrestriction/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (8)Dependencies (2)Versions (12)Used By (2)

MSP AdminRestriction
====================

[](#msp-adminrestriction)

Deny access to Magento backend from **unauthorized IPs**.

This module represents one of the **most effective Magento backend protection policy**.

> Member of **MSP Security Suite**
>
> See: [https://github.com/magespecialist/m2-MSP\_Security\_Suite](https://github.com/magespecialist/m2-MSP_Security_Suite)

Did you lock yourself out from Magento backend? [click here.](https://github.com/magespecialist/m2-MSP_AdminRestriction#emergency-commandline-disable)

Installing on Magento2:
-----------------------

[](#installing-on-magento2)

**1. Install using composer**

From command line:

`composer require msp/adminrestriction`
`php bin/magento setup:upgrade`

**2. Enable and configure from your Magento backend config**

[![](https://raw.githubusercontent.com/magespecialist/m2-MSP_AdminRestriction/master/screenshots/config.png)](https://raw.githubusercontent.com/magespecialist/m2-MSP_AdminRestriction/master/screenshots/config.png)

Emergency commandline disable:
------------------------------

[](#emergency-commandline-disable)

If you messed up with IP list, you can disable or change authorized ip list from command-line:

**Disable filter:**

`php bin/magento msp:security:admin_restriction:ip disable`

**Authorize a new IP list:**

`php bin/magento msp:security:admin_restriction:ip 127.0.0.1,192.168.0.0/24`

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance8

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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 ~215 days

Recently: every ~443 days

Total

11

Last Release

1485d ago

Major Versions

0.1.3 → 1.0.02017-05-31

PHP version history (4 changes)0.1.0PHP ~5.5.0|~5.6.0|~7.0.0

1.0.0PHP ~7.0.0

1.2.1PHP ^7.0|^7.1

1.4.0PHP ^7.0|^8.0.0|^8.1.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3977029?v=4)[MageSpecialist](/maintainers/magespecialist)[@magespecialist](https://github.com/magespecialist)

---

Top Contributors

[![phoenix128](https://avatars.githubusercontent.com/u/10189093?v=4)](https://github.com/phoenix128 "phoenix128 (11 commits)")[![peterjaap](https://avatars.githubusercontent.com/u/431360?v=4)](https://github.com/peterjaap "peterjaap (1 commits)")[![slackerzz](https://avatars.githubusercontent.com/u/3061752?v=4)](https://github.com/slackerzz "slackerzz (1 commits)")

### Embed Badge

![Health badge](/badges/msp-adminrestriction/health.svg)

```
[![Health](https://phpackages.com/badges/msp-adminrestriction/health.svg)](https://phpackages.com/packages/msp-adminrestriction)
```

###  Alternatives

[magento/community-edition

Magento 2 (Open Source)

12.2k53.6k13](/packages/magento-community-edition)[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8064.7M49](/packages/smile-elasticsuite)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[msp/twofactorauth

Two Factor Authentication module for Magento2 - Member of MageSpecialist SecuritySuite

4462.1k2](/packages/msp-twofactorauth)[omise/omise-magento

Accept payments on your Magento 2 website with Omise

3419.2k](/packages/omise-omise-magento)

PHPackages © 2026

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