liberusoftware/sessions-devices
| Install | |
|---|---|
composer require liberusoftware/sessions-devices |
|
| Latest Version: | 1.5.1 |
| PHP: | ^8.5 |
| Laravel: | 13 |
| License: | MIT |
| Last Updated: | Nov 2, 2026 |
| Links: | GitHub · Packagist |
Liberu Sessions and Devices
Privacy-conscious active-session inventory, current-session protection, and revocation.
Software · Hosting · Services · Liberu Group
Feature scope
Privacy-conscious active-session inventory, current-session protection, and revocation. This repository owns this capability as an independently versioned Composer package; hosts integrate it through its declared public boundaries rather than application-specific classes.
Capabilities
identity.sessions
Declared features
- Privacy-conscious active-session inventory
- Current-session protection
- Revocation
Requirements and installation
| Dependency | Supported version |
|---|---|
php |
^8.5 |
illuminate/database |
^13.0 |
illuminate/support |
^13.0 |
liberusoftware/identity |
^1.0 |
Install the released package from the project root:
composer require liberusoftware/sessions-devices
The trusted liberusoftware/composer-installer places it in /modules/sessions-devices. The installed directory remains tracked by the host repository, while Composer and its lock file remain the source of version truth. Installation does not imply runtime enablement or commercial entitlement.
Architecture and integration
- Composer package:
liberusoftware/sessions-devices - Package type:
liberu-module - Installer name:
sessions-devices - Category:
foundation - Service provider:
Liberu\Foundation\Sessions\SessionsDevicesServiceProvider - Enabled by default:
no
Public contracts
- No separate contract type is declared; use the documented provider and capability boundary.
Commands
- No console command is provided.
Events
- No package-owned event class is currently published.
Persistence and permissions
database/migrations/0001_01_01_000003_create_sessions_table.php
Authorization remains the host application's responsibility unless a public authorizer contract is listed above. Consumers should grant only the permissions needed for the exported capabilities and must not couple to internal tables or classes.
Testing
The package includes 2 test file(s). From a compatible host checkout, run:
vendor/bin/pest modules/sessions-devices/tests
Changes must preserve the manifest, service-provider integration, package boundaries, and PHP/Laravel compatibility declared above.
Security
Do not report security vulnerabilities through public GitHub issues. Email security@liberusoftware.com with reproduction details and the affected version so the report can be handled privately.
License
This module is open-source software available under the MIT License. The linked licence text is authoritative.
Feedback and contributing
Focused issues and tested pull requests are welcome in the GitHub repository. Keep changes within this module's capability boundary, update tests and documentation, and record user-visible changes in CHANGELOG.md.
Contributors
Thank you to everyone who helps improve Liberu. View the contributors graph.
Shared session schema
The migration creates the standard session table only when the host has none. Existing host columns and session data are preserved. Rolling back this adapter retains the shared table and active sessions. Session listing and revocation remain restricted to the authenticated actor; current sessions are protected from individual revocation.
Related Packages
Deterministic manifest discovery and runtime enablement for Liberu modules.
Provider-neutral identity policy, normalization, and versioned security events.
Secure upload policy, malware-scanner contract, media metadata, access, and rete...
Provider-neutral authorized search contracts and local Eloquent driver.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.5.1 | ^8.5 | ^13.38.0 | MIT | |
| 1.5.0 | ^8.5 | ^13.38.0 | MIT | |
| 1.4.4 | ^8.5 | ^13.38.0 | MIT | |
| 1.4.3 | ^8.5 | ^13.38.0 | MIT | |
| 1.4.2 | ^8.5 | ^13.38.0 | MIT | |
| 1.4.1 | ^8.5 | ^13.0 | MIT | |
| 1.4.0 | ^8.5 | ^13.0 | MIT | |
| 1.2.2 | ^8.5 | ^13.0 | MIT | |
| 1.2.1 | ^8.5 | ^13.0 | MIT | |
| 1.2.0 | ^8.5 | ^13.0 | MIT | |
| 1.1.0 | ^8.5 | ^13.0 | MIT | |
| 1.0.4 | ^8.5 | ^13.0 | MIT | |
| 1.0.3 | ^8.5 | ^13.0 | MIT | |
| 1.0.2 | ^8.5 | ^13.0 | MIT | |
| 1.0.1 | ^8.5 | ^13.0 | MIT | |
| 1.0.0 | ^8.5 | ^13.0 | MIT |