An open API service indexing awesome lists of open source software.

https://github.com/atakde/psession

PHP library for handling sessions
https://github.com/atakde/psession

php php-library php-session php-session-store php-sessions php8 session session-fixation session-handler session-management session-php

Last synced: 3 months ago
JSON representation

PHP library for handling sessions

Awesome Lists containing this project

README

        

# psession

PHP library for handling sessions

## Installation

Install via composer

```bash
composer require atakde/psession
```

## Usage

```php

true,
]);

$session->start();
$session->set('name', 'John');
echo $session->get('name');

$session->destroy();

```

## Features

* Allowed dot notation both get & set

```php
Session::get('user.name');
Session::set('user.name', 'Testing');
```