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 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity52

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

2359d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/959440?v=4)[Oliverio Gombert](/maintainers/olivertar)[@olivertar](https://github.com/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

[jdorn/sql-formatter

a PHP SQL highlighting library

3.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

2920.0k](/packages/voku-session2db)

PHPackages © 2026

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