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

Visitor Laravel Package

shetabit/visitor

Track and log Laravel visitors: browser, platform, device, IP, languages, user agent, and request data. Use visitor() helper or $request->visitor(). Record visits for any model via Visitable trait, count views/unique visitors, and detect online users.

View on GitHub
Deep Wiki
Context7
v4.5.4

What's Changed

New Contributors

Full Changelog: https://github.com/shetabit/visitor/compare/v4.5.3...v4.5.4

v4.5.3

What's Changed

Full Changelog: https://github.com/shetabit/visitor/compare/v4.5.2...v4.5.3

v4.5.2
v4.5.1

What's Changed

New Contributors

Full Changelog: https://github.com/shetabit/visitor/compare/v4.5.0...v4.5.1

v4.4.2

What's Changed

Full Changelog: https://github.com/shetabit/visitor/compare/v4.4.1...v4.4.2

v4.4.1

What's Changed

New Contributors

Full Changelog: https://github.com/shetabit/visitor/compare/v4.4.0...v4.4.1

v4.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/shetabit/visitor/compare/v4.3.1...v4.4.0

v4.3.1
v4.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/shetabit/visitor/compare/v4.2.0...v4.3.0

v4.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/shetabit/visitor/compare/v4.1.0...v4.2.0

v4.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/shetabit/visitor/compare/v4.0.1...v4.1.0

v4.0.0
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.0.1
v3.0
2.2.0

add except for routes to dont save request , dont store value of passwords without hash

v2.1.1
  • fix online users list
v2.1

now we support Laravel 7.*

v2.0.1

Return empty string instead of null in userAgent()

v2.0

Retrieve and Determine Online users

use Shetabit\Visitor\Traits\Visitor in your User class at first.

then you can retrieve online users which are instance of User class and determine if a user is online.

visitor()->onlineVisitors(User::class); // returns collection of online users
User::online()->get(); // another way

visitor()->isOnline($user); // determines if the given user is online
$user->isOnline(); // another way
v1.0

This is the first release :)

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