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 visitor info (IP, browser, device, platform, languages, user agent) via request helper, and attach visit logs to models with a Visitable trait. Includes online user detection and visit counting/uniques by IP or user.

View on GitHub
Deep Wiki
Context7
v4.5.6

What's Changed

New Contributors

Full Changelog: https://github.com/shetabit/visitor/compare/v4.5.5...v4.5.6

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.5.0

What's Changed

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

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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope