extendmate/pimcore-bundle-login-tracker

Tracks login activities of pimcore users.

v1.0.0 2024-02-04 10:59 UTC

This package is not auto-updated.

Last update: 2024-11-11 13:41:55 UTC


README

The Bundle offers comprehensive user login tracking functionalities within Pimcore. It efficiently captures login-related details of Pimcore users, including:

  1. User ID: Unique identifier assigned to the user.
  2. Username: Name used by the user for login purposes.
  3. Roles: Represents the user's assigned roles at the time of login.
  4. IP Address: The IP address from which the user logged in.
  5. isAdmin: Indicates whether the user is an admin or not.
  6. Login At: Datetime of the user's login attempt.
  7. Logout At: Datetime of the user's logout attempt.
  8. Last Seet At: Datetime indicating the user's last activity.
  9. User Agent: User's browser or application details.
  10. Firewall Name: Specific firewall used during the login.
  11. Login Status: Monitors login/logout/fail/error statuses. It registers as 'login' for successful logins, 'logout' for successful logouts, 'fail' for incorrect credentials, and 'error' when multiple failed login attempts occur.

Requirements

  • Pimcore 11.x

(Looking for Pimcore 5.x bundle? Click Here)

Installation

To install the bundle, execute the following commands:

  1. To install the Composer package, execute the following command:
composer require extendmate/pimcore-bundle-login-tracker
  1. Open the /config/bundle.php file and include the following line to enable the bundle::
Extendmate\Pimcore\LoginTracker\ExtendmateLoginTrackerBundle::class => ['all' => true]
  1. Install the bundle by running the command:
./bin/console pimcore:bundle:install ExtendmateLoginTrackerBundle
  1. (Optional) To explore available configurations for the bundle, run:
./bin/console config:dump-reference ExtendmateLoginTrackerBundle

You can customize these settings by overriding them in your config.yaml file.

  1. You're all set! Re-login to observe user login attempts within the ExtendmateLoginTracker-AllLoginAttempts report section. For viewing the reports, ensure the PimcoreCustomReportsBundle is enabled.

Update

To update the bundle, execute the following commands:

  1. Update the bundle using Composer:
composer update extendmate/pimcore-bundle-login-tracker
  1. Run the migrations with the specified prefix:
./bin/console doctrine:migrations:migrate --prefix=Extendmate\\Pimcore\\LoginTrackerBundle 

Uninstallation

To uninstall the bundle, perform the following steps:

  1. Uninstall the bundle via Pimcore console:
./bin/console pimcore:bundle:uninstall ExtendmateLoginTrackerBundle
  1. Disable the bundle by removing the following line from /config/bundle.php:
Extendmate\Pimcore\LoginTracker\ExtendmateLoginTrackerBundle::class => ['all' => true]
  1. Lastly, eliminate any bundle-related configurations from your config.yaml file, if present.

Suggest New Feature

Do you have an innovative idea for a new feature? We'd love to hear from you!

Bug Fixes

Spot a bug? Kindly create an issue, providing a step-by-step description to reproduce the problem. Please search the forum before opening a new issue.

Support Development

If you found this bundle helpful, consider donating $5 to support its ongoing enhancements and improvements.

paypal

Copyright and Licensing

Copyright (C) extendmate.com
For licensing details, please visit LICENSE.md

About Author

Greetings! I'm Faiyaz, the owner of extendmate.com. I have over 10 years of experience in website development.

Explore more about me on my LinkedIn profile .

Keywords

user login history, login history, login tracker, login log, login attempt detector, security audit trail, login monitor, login insights