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 yesterday

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

33

—

LowBetter than 72% of packages

Maintenance43

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

452d 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://avatars.githubusercontent.com/u/20450552?v=4)[Amici Infotech](/maintainers/amici-infotech)[@amici-infotech](https://github.com/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

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k70](/packages/verbb-formie)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[verbb/events

A full-featured plugin for event management and ticketing.

2311.9k](/packages/verbb-events)[superbig/craft-audit

Log adding/updating/deleting of elements

2054.3k](/packages/superbig-craft-audit)[born05/craft-sentry

Pushes Craft CMS errors to Sentry.

10140.4k2](/packages/born05-craft-sentry)

PHPackages © 2026

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