PHPackages                             space48/api-security - 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. space48/api-security

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

space48/api-security
====================

Magento 2 module that adds the ability to whitelist IP addresses for all requests that generate or use an OAuth admin token.

2.0.0(4y ago)027[1 issues](https://github.com/Space48/magento2-api-security/issues)MITPHPPHP &gt;7.2

Since Nov 11Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Space48/magento2-api-security)[ Packagist](https://packagist.org/packages/space48/api-security)[ RSS](/packages/space48-api-security/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (2)Versions (7)Used By (0)

Space 48 API Security for Magento 2
===================================

[](#space-48-api-security-for-magento-2)

This module adds the ability to whitelist IP addresses for all requests that generate or use an OAuth admin token.

More information about the Magento admin token can be found [here](https://devdocs.magento.com/guides/v2.3/rest/tutorials/prerequisite-tasks/create-admin-token.html).

Requirements
------------

[](#requirements)

- PHP 7.2+
- Magento 2.3

Usage
-----

[](#usage)

To enable IP whitelisting in the Magento 2 admin panel go to Stores → Configuration → Security → Space 48 API Security.

Under the IP Authentication heading you can enable this feature and insert the IP addresses you wish to be whitelisted.

Acknowledgements
----------------

[](#acknowledgements)

Thank you to Bettys &amp; Taylors of Harrogate Ltd. and their security specialist Luke Pigott.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.5% 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 ~135 days

Total

5

Last Release

1474d ago

Major Versions

1.1.1 → 2.0.02022-05-05

PHP version history (2 changes)1.0.0PHP ^7.2

2.0.0PHP &gt;7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fc6deb604a4a18e3d7b9f8d73a8ad52bd8f9556e6d84f6fb0ee76eeee65b330?d=identicon)[space48](/maintainers/space48)

---

Top Contributors

[![vlad1992](https://avatars.githubusercontent.com/u/7978194?v=4)](https://github.com/vlad1992 "vlad1992 (6 commits)")[![jakeworrall](https://avatars.githubusercontent.com/u/45756824?v=4)](https://github.com/jakeworrall "jakeworrall (5 commits)")

---

Tags

magento2

### Embed Badge

![Health badge](/badges/space48-api-security/health.svg)

```
[![Health](https://phpackages.com/badges/space48-api-security/health.svg)](https://phpackages.com/packages/space48-api-security)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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