New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

cjjian/visitors

log your visitors in db, page hits, and generate visit counter for Laravel 5
23 2

Larablocks Analysis

cjjian/visitors has no release yet to check Laravel compatibility against.

Recommendation checks

Use with care

Use with care: meets 0 of 3 checks.

  • No dated releases
  • 0 downloads a month (needs 10,000)
  • 2 GitHub stars (needs 100)

Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.

Install
composer require cjjian/visitors:dev-master
PHP:>=5.4.0
License:MIT
Last Updated:Apr 2, 2016
Links: GitHub  ·  Packagist
Maintainer: jcc

visitors

modify with https://github.com/weboAp/Visitor

#Step 1

Just add to composer.json file:

{
    "require": {
        "cjjian/visitor": "dev-master"
    }
}

then run

composer update

#Step 2

Add Cjjian\Visitors\VisitorServiceProvider::class to the list of service providers in app/config/app.php

#Step 3

Migrate the Visitor Table Run

php artisan vendor:publish

then

php artisan migrate

to migrate visitor table

the config.php will be copied to /config at the same time

/config/visitor.php costumize it accordinly

#Step 5 (Optional)

Visit http://dev.maxmind.com/geoip/geoip2/geolite2/

download GeoLite2-City.mmdb

place it in (create the geo directory)

storage/geo/ or where ever you want just adjust the package config to reflect the new location, it's used to geo locate visitors

#Usage

Visitor::log();   //log in db visitor ip, geo location, hit counter

Related Packages

owen-it/spark-auditing

App demo to package laravel-auditing.

79 8
sarahman/laravel-http-request-api-log

This library stores the http request api log into a database table.

16,554 1
cyrildewit/eloquent-viewable

A minimalistic analytics package for Laravel with seamless view tracking for Elo...

1,377,373 885
lanin/laravel-api-debugger

Easily debug your JSON API.

2,034,954 231
simovative/zeus

A Post-Redirect-Get specialised framework for PHP

122,996 7