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/console Integration

The Session package can be integrated with an application using the joomla/console package to provide additional helpers in your application.

Commands

Create Database Table

The session:create-table command can be used when your application uses the Joomla\Session\Handler\DatabaseHandler as its session handler to ensure the required database table has been created. Instantiating this command requires the database driver to be provided.

// /path/to/console.php
use Joomla\Console\Application;
use Joomla\Database\DatabaseFactory;
use Joomla\Session\Command\CreateSessionTableCommand;

$application = new Application;

$dbFactory = new DatabaseFactory;
$dbDriver = $dbFactory->getDriver('mysql', []);

$command = new CreateSessionTableCommand($dbDriver);

$application->addCommand($command);

$application->execute();
php /path/to/console.php session:create-table
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