surda/key-value-storage

Simple key-value storage for Nette Framework

v2.0.0 2021-03-03 11:34 UTC

This package is auto-updated.

Last update: 2024-03-29 04:04:57 UTC


README

Build Status Licence Latest stable PHPStan

Installation

The recommended way to is via Composer:

composer require surda/key-value-storage

After that you have to register services in config.neon:

services:
    cookieStorage: Surda\KeyValueStorage\CookieStorage
    sessionStorage: Surda\KeyValueStorage\SessionStorage('section-name')
    arrayStorage: Surda\KeyValueStorage\ArrayStorage