Download the PHP package responsive-sk/slim4-session without Composer
On this page you can find all versions of the php package responsive-sk/slim4-session. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download responsive-sk/slim4-session
More information about responsive-sk/slim4-session
Files in responsive-sk/slim4-session
Download responsive-sk/slim4-session
More information about responsive-sk/slim4-session
Files in responsive-sk/slim4-session
Vendor responsive-sk
Package slim4-session
Short Description Complete session management for Slim 4 with zero dependencies and full type safety
License MIT
Package slim4-session
Short Description Complete session management for Slim 4 with zero dependencies and full type safety
License MIT
Please rate this library. Is it a good library?
Informations about the package slim4-session
ResponsiveSk Slim4 Session
Complete session management for Slim 4 with zero external dependencies and full type safety.
Features
- Zero Dependencies - No external session libraries required
- Type Safety - Full PHPStan level max compatibility with @throws annotations
- Flash Messages - Built-in flash message support with dedicated interface
- Factory Pattern - Easy configuration for different environments
- Native PHP Sessions - Direct PHP session management with enhanced interface
- Custom Storage Engines - Redis, Database, and custom storage support
- PSR-15 Middleware - Ready-to-use middleware for Slim 4
- Auto-Refresh - Automatic session lifetime extension on user activity
- Production Ready - Secure defaults and best practices
Installation
Quick Start
Basic Usage
Environment-Specific Configuration
Custom Configuration
Complete Interface
Our SessionInterface provides complete session management:
Architecture
Native Implementation
The package provides a complete native PHP session implementation:
Factory Pattern
Security Features
Secure Defaults
- HttpOnly cookies - Prevents XSS attacks
- Secure cookies - HTTPS only in production
- SameSite protection - CSRF protection
- Strict mode - Prevents session fixation
- Session regeneration - Built-in ID regeneration
Production Configuration
Testing
Integration with Slim 4
DI Container Setup
Middleware Usage
Type Safety
Full PHPStan level max compatibility:
Compatibility
- PHP 8.3+
- Slim 4
- Zero external dependencies
- PHPStan level max
License
MIT License. See LICENSE for details.
Made with ❤️ by Responsive SK
All versions of slim4-session with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
psr/log Version ^3.0
psr/http-message Version ^1.0|^2.0
psr/http-server-middleware Version ^1.0
psr/log Version ^3.0
psr/http-message Version ^1.0|^2.0
psr/http-server-middleware Version ^1.0
The package responsive-sk/slim4-session contains the following files
Loading the files please wait ...