# session
**Repository Path**: wfdaj/leaf-session
## Basic Information
- **Project Name**: session
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-01-11
- **Last Updated**: 2025-11-30
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Leaf Session Module
# Leaf PHP
[](https://packagist.org/packages/leafs/session)
[](https://packagist.org/packages/leafs/session)
[](https://packagist.org/packages/leafs/session)
Leaf's core session functionality packaged as a serve-yourself module.
## Installation
You can easily install Leaf using the [Leaf CLI](https://cli.leafphp.dev):
```bash
leaf install session
```
Or with [Composer](https://getcomposer.org/).
```bash
composer require leafs/session
```
## Usage
```php
session()->set('name', 'Leaf PHP');
session()->get('name');
```
Check the full documentation [here](https://leafphp.dev/modules/session/).