PHPackages                             michalsn/codeigniter-session-extended - 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. michalsn/codeigniter-session-extended

ActiveLibrary[Database &amp; ORM](/categories/database)

michalsn/codeigniter-session-extended
=====================================

Managing user sessions stored in the database for the CodeIgniter 4 framework

v1.0.0(2y ago)4171[3 PRs](https://github.com/michalsn/codeigniter-session-extended/pulls)MITPHPPHP ^8.0

Since Jul 23Pushed 2y ago2 watchersCompare

[ Source](https://github.com/michalsn/codeigniter-session-extended)[ Packagist](https://packagist.org/packages/michalsn/codeigniter-session-extended)[ Docs](https://github.com/michalsn/codeigniter-session-extended)[ RSS](/packages/michalsn-codeigniter-session-extended/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (5)Used By (0)

CodeIgniter Session Extended
============================

[](#codeigniter-session-extended)

This library gives users the ability to view their own active sessions and remove them from devices they no longer use.

It works only with database session handler.

[![PHPUnit](https://github.com/michalsn/codeigniter-session-extended/actions/workflows/phpunit.yml/badge.svg)](https://github.com/michalsn/codeigniter-session-extended/actions/workflows/phpunit.yml)[![PHPStan](https://github.com/michalsn/codeigniter-session-extended/actions/workflows/phpstan.yml/badge.svg)](https://github.com/michalsn/codeigniter-session-extended/actions/workflows/phpstan.yml)[![Deptrac](https://github.com/michalsn/codeigniter-session-extended/actions/workflows/deptrac.yml/badge.svg)](https://github.com/michalsn/codeigniter-session-extended/actions/workflows/deptrac.yml)

[![PHP](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)[![CodeIgniter](https://camo.githubusercontent.com/8867c0cb2bfb4e11f527658f45d11bea936efb5a06e66b10e576912cf40874e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f646549676e697465722d253545342e332d626c7565)](https://camo.githubusercontent.com/8867c0cb2bfb4e11f527658f45d11bea936efb5a06e66b10e576912cf40874e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f646549676e697465722d253545342e332d626c7565)

### Requirements

[](#requirements)

This library requires the application to comply with CodeIgniter 4 [authentication recommendations](https://codeigniter.com/user_guide/extending/authentication.html).

### Installation

[](#installation)

#### Composer

[](#composer)

```
composer require michalsn/codeigniter-session-extended

```

#### Manually

[](#manually)

In the example below we will assume, that files from this project will be located in `app/ThirdParty/session-extended` directory.

Download this project and then enable it by editing the `app/Config/Autoload.php` file and adding the `Michalsn\CodeIgniterSessionExtended` namespace to the `$psr4` array, like in the below example:

```
