extendmate / pimcore-bundle-login-tracker
Tracks login activities of pimcore users.
Installs: 42
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Type:pimcore-bundle
Requires
- pimcore/pimcore: ^11.0.0
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:
- User ID: Unique identifier assigned to the user.
- Username: Name used by the user for login purposes.
- Roles: Represents the user's assigned roles at the time of login.
- IP Address: The IP address from which the user logged in.
- isAdmin: Indicates whether the user is an admin or not.
- Login At: Datetime of the user's login attempt.
- Logout At: Datetime of the user's logout attempt.
- Last Seet At: Datetime indicating the user's last activity.
- User Agent: User's browser or application details.
- Firewall Name: Specific firewall used during the login.
- 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:
- To install the Composer package, execute the following command:
composer require extendmate/pimcore-bundle-login-tracker
- Open the
/config/bundle.php
file and include the following line to enable the bundle::
Extendmate\Pimcore\LoginTracker\ExtendmateLoginTrackerBundle::class => ['all' => true]
- Install the bundle by running the command:
./bin/console pimcore:bundle:install ExtendmateLoginTrackerBundle
- (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.
- 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:
- Update the bundle using Composer:
composer update extendmate/pimcore-bundle-login-tracker
- 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:
- Uninstall the bundle via Pimcore console:
./bin/console pimcore:bundle:uninstall ExtendmateLoginTrackerBundle
- Disable the bundle by removing the following line from
/config/bundle.php
:
Extendmate\Pimcore\LoginTracker\ExtendmateLoginTrackerBundle::class => ['all' => true]
- 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.
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