Download the PHP package snicco/session-bundle without Composer
On this page you can find all versions of the php package snicco/session-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package session-bundle
Snicco - SessionBundle
This WordPress bundle integrates snicco/session
in applications based on snicco/kernel
.
The snicco/http-routing-bundle
is required for this bundle.
Installation
Configuration
See config/session.php for the available configuration options.
If this file does not exist in your configuration directory the default configuration will be copied the first time the kernel is booted in dev mode.
Add the SessionBundle
to your bundles.php
config file.
Usage
This bundle contains several middleware that manage the session lifecycle.
AllowMutableSessionForReadVerbs
,allows starting writable session for GET requests.StatefulRequest
, starts and saves a session.SessionNoCache
, marks the response as not cacheable.SessionErrors
to allViewResponses
.SaveResponseAttributes
, saves flash messages, errors and old-input in the session.
Its recommended configure the session middleware in the middleware
config of the HttpRoutingBundle
like so:
The session can be accessed on the PSR-7 request:
Contributing
This repository is a read-only split of the development repo of the Snicco project.
This is how you can contribute.
Reporting issues and sending pull requests
Please report issues in the Snicco monorepo.
Security
If you discover a security vulnerability within BetterWPCache, please follow our disclosure procedure.
All versions of session-bundle with dependencies
snicco/kernel Version ^2.0
snicco/session Version ^2.0
snicco/session-wp-bridge Version ^2.0
snicco/session-psr16-bridge Version ^2.0
snicco/better-wp-hooks Version ^2.0
snicco/better-wp-hooks-bundle Version ^2.0
snicco/event-dispatcher Version ^2.0
snicco/http-routing Version ^2.0
snicco/http-routing-bundle Version ^2.0
snicco/better-wpdb Version ^2.0
snicco/better-wp-api Version ^2.0
snicco/better-wpdb-bundle Version ^2.0
snicco/better-wp-cache Version ^2.0
snicco/better-wp-cache-bundle Version ^2.0
snicco/encryption-bundle Version ^2.0