PHPackages                             ghoster/accountshield - 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. ghoster/accountshield

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

ghoster/accountshield
=====================

Implements the user authentication security methods such Account Lockout, Password Expiry etc outside Default Magento 2 protection engine.

v1.0.0(7y ago)19GPL-3.0PHP

Since Apr 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tuyennn/AccountShield)[ Packagist](https://packagist.org/packages/ghoster/accountshield)[ RSS](/packages/ghoster-accountshield/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Account Shield - Magento 2
==========================

[](#account-shield---magento-2)

---

Account Shield Magento 2 module is implements the user authentication security methods such Account Lockout, Password Expiry etc outside Default Magento 2 protection engine.

[![License: GPL v3](https://camo.githubusercontent.com/1b0c7e4911720d0444c16a1ffd145a039f14a1a7305362ab51184f757a4dd6bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076332d626c75652e737667)](https://www.gnu.org/licenses/gpl-3.0)[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.me/thinghost)[![Version 1.0.0](https://camo.githubusercontent.com/7d41ed62104e837ba0b4de09f2dd55e9b4de4d45032058d4a089fe80c71e47a8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273696f6e2d312e302e302d677265656e2e737667)](https://camo.githubusercontent.com/7d41ed62104e837ba0b4de09f2dd55e9b4de4d45032058d4a089fe80c71e47a8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273696f6e2d312e302e302d677265656e2e737667)

---

[![Alt GhoSter](https://camo.githubusercontent.com/99d6131f1763774bff43a7b2da50ae18221685d6b948fc8d2a86e4a1d2e8b7e6/687474703a2f2f7468696e67686f73742e696e666f2f77702d636f6e74656e742f75706c6f6164732f323031352f31322f67686f737465722e706e67 "thinghost.info")](http://thinghost.info) Overview
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-overview)

- [Extension on GitHub](https://github.com/tuyennn/AccountShield)
- [Direct download link](https://github.com/tuyennn/AccountShield/tarball/master)

Main Features
-------------

[](#main-features)

- Prevent a Customer or an Admin user fails certain number of login attempts due to invalid password then that user's account will be locked out for certain time period.
- Configured maximum login attempts in Admin.
- Unlock those account were marked as Locked.
- Slowing down online password guessing attacks.
- Protect from the spam bot attacks etc.
- Of course, this protection was outside from default Implemented Magento Security Modules

Configure and Manage the Account Shield
---------------------------------------

[](#configure-and-manage-the-account-shield)

- Enable - Enable or disable an Account Lockout.
- Threshold - Number of consecutive failed sign in attempts. (Default is 3).
- Interval Duration - Number of seconds defined how long an account will remain as locked out (Default is 900 Seconds)

Installation with Composer
--------------------------

[](#installation-with-composer)

- Connect to your server with SSH
- Navigation to your project and run these commands

```
composer require ghoster/accountshield

php bin/magento setup:upgrade
rm -rf pub/static/*
rm -rf var/*

php bin/magento setup:static-content:deploy
```

Installation without Composer
-----------------------------

[](#installation-without-composer)

- Download the files from github: [Direct download link](https://github.com/tuyennn/AccountShield/tarball/master)
- Extract archive and copy all directories to app/code/GhoSter/AccountShield
- Go to project home directory and execute these commands

```
php bin/magento setup:upgrade
rm -rf pub/static/*
rm -rf var/*

php bin/magento setup:static-content:deploy
```

Licence
-------

[](#licence)

[Open Software License (OSL 3.0)](http://opensource.org/licenses/osl-3.0.php)

Donation
--------

[](#donation)

If this project help you reduce time to develop, you can give me a cup of coffee :)

[![paypal](https://camo.githubusercontent.com/e1ff554a09e8e92bef25abc553ff05b88f45afd695877cf12f3a46558ef65b2e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.me/thinghost)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Unknown

Total

1

Last Release

2584d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/837f2210abfea9f55b4e3400a687b1d2c82477609fad2e7f61c663f25e5337db?d=identicon)[tuyennn](/maintainers/tuyennn)

---

Top Contributors

[![tuyennn](https://avatars.githubusercontent.com/u/4010395?v=4)](https://github.com/tuyennn "tuyennn (3 commits)")

### Embed Badge

![Health badge](/badges/ghoster-accountshield/health.svg)

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

###  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)
