incodenz/yii2-session-track

Simple component that allows for tracking of sessions / logins.


Keywords
component, yii2, session-track
License
Other

Documentation

Session Track for Yii2 Application

Simple component that allows for tracking of sessions / logins.

Provides a configurable list of exceptions.

Installation

The preferred way to install this extension is through composer.

Add the following to your composer.json file.

    "require" : {
        "incodenz/yii2-session-track": "*"
    },

Configuration Examples

Basic Configuration

...
'bootstrap' => [
    'sessionTrack',
]
'components' => [
    'sessionTrack' => [
        'class' => 'incodenz\SessionTrack\Component',
    ]
],
...

Run the migrations

cp vendor/incodenz/yii2-session-track/src/migrations/* migrations/
php yii migrate