laminas/laminas-session
Laminas Session provides object-oriented PHP session management: session containers, validators, save handlers, and configuration utilities. Supports secure, testable session workflows for Laminas/Mezzio apps, including storage options and session lifecycle control.
Own custom validators can be provided to validate against other items from storing a token and validating a token to other various techniques.
To create a custom validator, the validation interface Laminas\Session\Validator\ValidatorInterface must be implemented.
More information on how to create custom validators can be found in the laminas-validator documentation.
How can I help you explore Laravel packages today?