Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marko/session-file

File-based session driver--stores session data as files on disk with file locking for concurrent request safety.

Installation

composer require marko/session-file

Quick Example

use Marko\Session\Contracts\SessionInterface;

public function __construct(
    private readonly SessionInterface $session,
) {}

public function handle(): void
{
    $this->session->set('user_id', 42);
}

Installing this package automatically registers the file handler, binds SessionInterface, and adds SessionMiddleware globally. No manual configuration is needed.

Documentation

Full usage, API reference, and examples: marko/session-file

About

[READ-ONLY] File-based session driver for Marko Framework. Issues and PRs at https://github.com/marko-php/marko

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages