PHPackages                             orangecat/customerloginhistory - 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. [Database &amp; ORM](/categories/database)
4. /
5. orangecat/customerloginhistory

ActiveMagento2-module[Database &amp; ORM](/categories/database)

orangecat/customerloginhistory
==============================

Keeps a record of customer logins in db

1.0.0(6y ago)05OSL-3.0PHPPHP ~7.1.3||~7.2.0||~7.3.0

Since Mar 2Pushed 6y agoCompare

[ Source](https://github.com/olivertar/m2_login_history)[ Packagist](https://packagist.org/packages/orangecat/customerloginhistory)[ RSS](/packages/orangecat-customerloginhistory/feed)WikiDiscussions master Synced yesterday

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

M2 Customer Login History Module
================================

[](#m2-customer-login-history-module)

This module has been developed for Magento 2.3.4

The purpose of this module is to save the information of each user login in a custom database table.

This information will be displayed on the user dashboard who will have the possibility of deleting some or all of the records.

The module provides a console command that allows deleting all the records of a specific user: bin/magento customerlogin:deletebyuser userID

or allows deleting the records of all users bin/magento customerlogin:deletebyuser all

To prevent the log table growing infinitely, a cron-triggered routine has been included that allows you to delete old records. The Admin can establish the period of time that the records must be kept in the database from the module configuration options. It is also possible to cancel this option.

Installation
------------

[](#installation)

The extension must be installed via `composer`. To proceed, run these commands in your terminal:

```
composer require orangecat/customerloginhistory
php bin/magento module:enable Orangecat_CustomerLoginHistory
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

```

Note
----

[](#note)

This module depends on Orangecat Geoip, if you install this module manually, install the GeoIP module first

Screenshot
----------

[](#screenshot)

[![ScreenShot](https://github.com/olivertar/m2_login_history/raw/master/screen-shot/user_dashboard.png)](https://github.com/olivertar/m2_login_history/blob/master/screen-shot/user_dashboard.png)

[![ScreenShot](https://github.com/olivertar/m2_login_history/raw/master/screen-shot/log_history.png)](https://github.com/olivertar/m2_login_history/blob/master/screen-shot/log_history.png)

[![ScreenShot](https://github.com/olivertar/m2_login_history/raw/master/screen-shot/loginhistory_system.png)](https://github.com/olivertar/m2_login_history/blob/master/screen-shot/loginhistory_system.png)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

2262d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b0424a2b27fcf1f5c4362f5ab7f4fc78b56dfffe4897c4fd8177623b50fb953?d=identicon)[olivertar](/maintainers/olivertar)

### Embed Badge

![Health badge](/badges/orangecat-customerloginhistory/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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