PHPackages                             amici/craft-login-attempts - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. amici/craft-login-attempts

ActiveCraft-plugin[Logging &amp; Monitoring](/categories/logging)

amici/craft-login-attempts
==========================

Log all login attempts

5.0.2(1y ago)079proprietaryPHPPHP ^8.0.2 || ^8.1 || ^8.2

Since May 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/amici-infotech/craft-login-attempts)[ Packagist](https://packagist.org/packages/amici/craft-login-attempts)[ RSS](/packages/amici-craft-login-attempts/feed)WikiDiscussions craft-4 Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (6)Used By (0)

Login Attempts plugin for Craft CMS 4
=====================================

[](#login-attempts-plugin-for-craft-cms-4)

Log all login attempts (failed and success) with error message.

### Requirements

[](#requirements)

- PHP version 8.0.0 or higher
- Craft CMS 4.0 or higher

---

### Installation

[](#installation)

Open your terminal and go to your Craft project:

```
cd /path/to/project
```

Run this command to load the plugin:

```
composer require amici/craft-login-attempts
```

In the Control Panel, go to Settings → Plugins and click the “Install” button for Login Attempts.

---

### Usage

[](#usage)

All login attempts will be automatically register to Login Attempts database table. No action needed here. All login attempts can be seen under "Login Attempts" link under CP main menu. Alternatively, Any user's dashboard will have "Login Activity" tab from where we can see all activity (top 100) of that user only.

You can also get user's activity on twig files. Example:

```
{% set query = craft.loginAttempts.activity().limit(100).all() %}

{% set query = craft.loginAttempts.activity()
    .userId(currentUser.getId())
    .limit(100).all() %}
```

Supported fields are:

```
    id
    userId
    loginName
    loginStatus
    ipAddress
    error
    dateCreated
    dateUpdated
    uid
```

### Documentation

[](#documentation)

Visit the [Login Attempts](https://docs.amiciinfotech.com/craft-cms/login-attempts) for all documentation, guides, pricing and developer resources.

### Support

[](#support)

Get in touch with us via the [Amici Infotech Support](https://amiciinfotech.com/contact) or by [creating a Github issue](https://github.com/amici-infotech/craft-login-attempts/issues)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance50

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~231 days

Total

4

Last Release

396d ago

Major Versions

1.0.0 → 5.0.02025-02-14

PHP version history (2 changes)1.0.0PHP ^8.0.2

5.0.0PHP ^8.0.2 || ^8.1 || ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/a7ce33eed8b6049a844edbc265f52eea4469fcd9fc40e2a318b3a3e6437ae2a9?d=identicon)[amici-infotech](/maintainers/amici-infotech)

---

Top Contributors

[![amici-infotech](https://avatars.githubusercontent.com/u/20450552?v=4)](https://github.com/amici-infotech "amici-infotech (3 commits)")

---

Tags

cmsloginCraftcraftcmscraft-pluginlogin attemptsfailed login

### Embed Badge

![Health badge](/badges/amici-craft-login-attempts/health.svg)

```
[![Health](https://phpackages.com/badges/amici-craft-login-attempts/health.svg)](https://phpackages.com/packages/amici-craft-login-attempts)
```

###  Alternatives

[lukeyouell/craft-sentry

Error tracking that helps developers monitor and fix crashes in real time. Iterate continuously. Boost efficiency. Improve user experience.

17123.4k1](/packages/lukeyouell-craft-sentry)[superbig/craft-audit

Log adding/updating/deleting of elements

2053.6k](/packages/superbig-craft-audit)

PHPackages © 2026

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