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

Laravel Devices Laravel Package

diego-ninja/laravel-devices

Laravel package for tracking authenticated user devices and managing sessions. Includes device verification, fingerprinting integrations, session locking/blocking with optional Google 2FA, location tracking, events, middleware/controllers, and caching support.

View on GitHub
Deep Wiki
Context7
v2.0.4

What's Changed

Full Changelog: https://github.com/diego-ninja/laravel-devices/compare/v2.0.3...v2.0.4

v2.0.3

What's Changed

Full Changelog: https://github.com/diego-ninja/laravel-devices/compare/v2.0.2...v2.0.3

v2.0.2

What's Changed

Full Changelog: https://github.com/diego-ninja/laravel-devices/compare/v2.0.1...v2.0.2

v2.0.1

What's Changed

Full Changelog: https://github.com/diego-ninja/laravel-devices/compare/v2.0.0...v2.0.1

v1.2.21

What's Changed

Full Changelog: https://github.com/diego-ninja/laravel-devices/compare/v1.2.20...v1.2.21

v1.2.16

What's Changed

Full Changelog: https://github.com/diego-ninja/laravel-devices/compare/v1.2.15...v1.2.16

v1.2.15

What's Changed

Full Changelog: https://github.com/diego-ninja/laravel-devices/compare/v1.2.14...v1.2.15

v1.2.14

What's Changed

Full Changelog: https://github.com/diego-ninja/laravel-devices/compare/v1.2.13...v1.2.14

v1.2.13

Adds session location change behaviour

v1.2.12

Adds support for Laravel 12

v1.2.11

fix: Emitted events and session tracker

v1.2.10

hotfix: fixes incorrect finished session handling

v1.2.9
  • OnLogin now start the session and set it so the session_uuid is available everywhere
  • SessionTracker will try to execute the api before creating a session when no user is logged to allow login api to actually send back the session id in the response
v1.2.8

feat(transport): add hierarchical transports for session and device IDs

v1.2.7

feat(whitelist): adds UA whitelist to allow know bot device creation

v1.2.6

Minor fixes to comply with php 8.4

v1.2.5

PHPStan/Larastan style changes Minimal bugs fixed

v1.2.4
  • Removes the mandatory use of Laravel session to work
  • Adds a new transport for session/device ids: session
  • Dedicated transport enums for session and device ids
v1.2.3

hotfix(facades): fixes bad use statements for laravel facades

v1.2.2
  • Adds header transport for device id communication
  • Package now works without Laravel Session
  • Header transport only available for device id not for device fingerprint (just cookie for fingerprints)
  • Check config file for new options:
   /*
   |--------------------------------------------------------------------------
   | Header name for device id
   |--------------------------------------------------------------------------
   | This option specifies the name of the header that will be used to store
   | the device uuid during the request.
   |
   */
   'device_id_header_name' => 'X-Device',

   /*
   |--------------------------------------------------------------------------
   | Transport for device id
   |--------------------------------------------------------------------------
   | This option specifies the transport method for the device id.
   |
   | Options: 'cookie', 'header'
   |
   */
   'device_id_transport' => 'cookie',
   ```
v1.2.1
  • Artisan commands for device and session management
  • User event tracking module (WIP!)
  • Device and session security module (WIP!)
  • Minor bugfixes
v1.2.0
  • Fingerprinting support with js libraries
    • FingerprintJS
    • ClientJS
  • Improved documentation (generated with AI, use carefully)
  • Several refactors
v1.1.1-beta

Adds metadata object to Device model

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