PHPackages                             d3turnes/visitor - 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. [Framework](/categories/framework)
4. /
5. d3turnes/visitor

ActiveLibrary[Framework](/categories/framework)

d3turnes/visitor
================

Contador de visitas para laravel 5.x, basado en el package de weboap/visitor

v2.0.5(8y ago)06MITPHPPHP &gt;=5.4.0

Since Mar 22Pushed 8y agoCompare

[ Source](https://github.com/d3turnes/Visitor)[ Packagist](https://packagist.org/packages/d3turnes/visitor)[ RSS](/packages/d3turnes-visitor/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

\#Visitor
=========

[](#visitor)

Register your visitors, Page hits for Laravel 5

for laravel 4 use ver v1.0.0

### Installation

[](#installation)

Add d3turnes/visitor to your composer file.

Step 1
------

[](#step-1)

For Laravel 5 installation edit your project's composer.json file to require d3turnes/visitor.

```

	"require": {
        	"d3turnes/visitor": "dev-master"
    	}
```

Update Composer from the CLI:

composer update

Step 2
------

[](#step-2)

Add if your laravel version is &lt; 5.5

```
	Weboap\Visitor\VisitorServiceProvider::class
```

to the list of service providers in app/config/app.php

Step 3
------

[](#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)
-----------------

[](#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

[](#usage)

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

Visitor::get();
Visitor::get( $ip );   //fetch ip record

Visitor::forget( $ip ); //delete ip from log

Visitor::has( $ip );   // checkk if visitor ip exist in log

Visitor::count()  // return count of all site registred unique visitors

Visitor::all();  // all records as array

Visitor::all(true);  // all records as collection

Visitor::clicks(); //total of all clicks

Visitor::range($date_start, $date_end); // visitors count in a date range;
```

\###Credits This product Uses GeoLite2 data created by MaxMind, whenever available.

Enjoy!

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 62.9% 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.

###  Release Activity

Cadence

Every ~180 days

Recently: every ~204 days

Total

8

Last Release

3176d ago

Major Versions

0.1.0 → v1.0.02014-07-25

v1.0.0 → v2.0.02015-05-08

PHP version history (2 changes)0.1.0PHP &gt;=5.3.0

v2.0.0PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/31abd52541b08f744a5a9dd4f28a0b32a3048122d5b8680993dd3714c2dc9f5a?d=identicon)[d3turnes](/maintainers/d3turnes)

---

Top Contributors

[![d3turnes](https://avatars.githubusercontent.com/u/32837544?v=4)](https://github.com/d3turnes "d3turnes (22 commits)")[![weboAp](https://avatars.githubusercontent.com/u/808861?v=4)](https://github.com/weboAp "weboAp (13 commits)")

---

Tags

logframeworklaravelcountervisitorshitsclicks

### Embed Badge

![Health badge](/badges/d3turnes-visitor/health.svg)

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

###  Alternatives

[rebing/graphql-laravel

Laravel wrapper for PHP GraphQL

2.2k7.1M26](/packages/rebing-graphql-laravel)[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.1M64](/packages/graham-campbell-markdown)[graham-campbell/manager

Manager Provides Some Manager Functionality For Laravel

39221.1M134](/packages/graham-campbell-manager)[lanin/laravel-api-debugger

Easily debug your JSON API.

2311.8M](/packages/lanin-laravel-api-debugger)[laravel-lang/publisher

Localization publisher for your Laravel application

2167.7M24](/packages/laravel-lang-publisher)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)

PHPackages © 2026

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