PHPackages                             young-programa/secure-session-library - 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. [Security](/categories/security)
4. /
5. young-programa/secure-session-library

ActiveLibrary[Security](/categories/security)

young-programa/secure-session-library
=====================================

A secure, Composer-compatible session management library for PHP web applications. Developed by Raji Hamidu (BHU/24/MCSDF/CMP/009) for MCSDF project.

v1.0.0(6mo ago)01PHPPHP &gt;=8.0

Since Oct 25Pushed 6mo agoCompare

[ Source](https://github.com/rajihamidy/secure-session-library)[ Packagist](https://packagist.org/packages/young-programa/secure-session-library)[ RSS](/packages/young-programa-secure-session-library/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Secure Session Library - Examples
=================================

[](#secure-session-library---examples)

🚀 Zero Configuration Setup
--------------------------

[](#-zero-configuration-setup)

The library automatically handles everything:

- ✅ Creates database in writable location
- ✅ Sets up tables and indexes
- ✅ Manages session lifecycle
- ✅ No manual directory creation needed!

Quick Start
-----------

[](#quick-start)

### 1. Install via Composer

[](#1-install-via-composer)

```
composer require your-vendor/secure-session-library

```

### 2. Copy the Example

[](#2-copy-the-example)

```
cp vendor/your-vendor/secure-session-library/examples/index.php ./

```

### 3. Run It

[](#3-run-it)

```
php -S localhost:8000

```

That's it! Visit

Minimal Code Example
--------------------

[](#minimal-code-example)

```
