Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Session Laravel Package

joomla/session

Framework-agnostic PHP 8.1+ session management from the Joomla Framework. Provides interfaces and utilities to start and manage sessions, store and retrieve session data, and integrate session handling cleanly within your application.

View on GitHub
Deep Wiki
Context7

Joomla\Session\ValidatorInterface

The ValidatorInterface is designed to allow custom validation of the session to help protect against session attacks.

Check if the session is valid

The validate method is used to check if the session is valid. If the session is invalid it should throw a Joomla\Session\Exception\InvalidSessionException. If the $restart flag is set to true then any data stored in the session should be invalidated (normally by setting it to null) and new properties retrieved.

/**
 * [@param](https://github.com/param)   boolean  $restart  Flag if the session should be restarted
 *
 * [@return](https://github.com/return)  void
 *
 * [@throws](https://github.com/throws)  \Joomla\Session\Exception\InvalidSessionException
 */
public function validate(bool $restart = false);
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport