surda / key-value-storage
Simple key-value storage for Nette Framework
v2.0.0
2021-03-03 11:34 UTC
Requires
- php: >=7.1
- nette/http: ^2.4 | ^3.0
Requires (Dev)
- nette/tester: ^2.0
- ninjify/nunjuck: ^0.3
- phpstan/phpstan: ^0.12
- phpstan/phpstan-deprecation-rules: ^0.12
- phpstan/phpstan-nette: ^0.12
- phpstan/phpstan-strict-rules: ^0.12
This package is auto-updated.
Last update: 2024-12-29 06:14:25 UTC
README
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