PHPackages                             cjjian/visitors - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cjjian/visitors

ActiveLibrary

cjjian/visitors
===============

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

223[1 issues](https://github.com/jcc/visitors/issues)PHP

Since Apr 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jcc/visitors)[ Packagist](https://packagist.org/packages/cjjian/visitors)[ RSS](/packages/cjjian-visitors/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

visitors
========

[](#visitors)

modify with

\#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

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
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b175716bc9375f5a3acf5ef2237ec263b977cab8adb2ddb700b8c9e67094391c?d=identicon)[jcc](/maintainers/jcc)

---

Top Contributors

[![JuddJian](https://avatars.githubusercontent.com/u/19197714?v=4)](https://github.com/JuddJian "JuddJian (6 commits)")[![jcc](https://avatars.githubusercontent.com/u/12684082?v=4)](https://github.com/jcc "jcc (4 commits)")

### Embed Badge

![Health badge](/badges/cjjian-visitors/health.svg)

```
[![Health](https://phpackages.com/badges/cjjian-visitors/health.svg)](https://phpackages.com/packages/cjjian-visitors)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
