Releases: shetabit/visitor
Releases · shetabit/visitor
v3.1.0
Merge pull request #21 from sepisoltani/sepisoltani/table-name-config…
fix importing Eloquent/Model bug
Merge pull request #17 from lloricode/bugfix/user Add import in Visitable trait
support Laravel 8.*
Merge pull request #16 from lloricode/patch-1 Add support for laravel 8
add ability to not save some requests on some routes
add except for routes to dont save request , dont store value of passwords without hash
fix online users list
- fix online users list
support Laravel 7.*
now we support Laravel 7.*
Fix userAgent()
Return empty string instead of null in userAgent()
Recognize online visitors
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
First release
This is the first release :)