PHPackages                             xetaio/xetaravel-iptraceable - 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. xetaio/xetaravel-iptraceable

ActiveLibrary

xetaio/xetaravel-iptraceable
============================

A simple package that update an IP field when the user login into the application.

12.0.0(1y ago)04.5k↑410.6%1MITPHPPHP ^8.2

Since May 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/XetaIO/Xetaravel-IpTraceable)[ Packagist](https://packagist.org/packages/xetaio/xetaravel-iptraceable)[ Docs](https://github.com/XetaIO/Xetaravel-IpTraceable)[ RSS](/packages/xetaio-xetaravel-iptraceable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (12)Used By (1)

> # Xetaravel IpTraceable
>
> [](#xetaravel-iptraceable)
>
> Stable VersionDownloadsLaravelLicense[![Latest Stable Version](https://camo.githubusercontent.com/7a4c83ce9e6cb346ec92b992dfd33fb7b7547b24101941df8b6d173276cf88d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f58657461494f2f58657461726176656c2d4970547261636561626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xetaio/xetaravel-iptraceable)[![Total Downloads](https://camo.githubusercontent.com/80d9c19049fb048f8f431060c1f71ebe4df83e3505a25f2a0239131c622d69ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f78657461696f2f78657461726176656c2d6970747261636561626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xetaio/xetaravel-iptraceable)[![Laravel 5.6](https://camo.githubusercontent.com/4be469918d81757bbfce0d8ba7b2efccbc3a867a51c95b789ca194c40d03f7ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d2533453d382e302d6634363435662e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/XetaIO/Xetaravel-IpTraceable/blob/master/LICENSE)A simple package that update an IP field when the user login into the application. Also work with the `remember_me` token.
>
> ## Requirement
>
> [](#requirement)
>
> [![PHP](https://camo.githubusercontent.com/5ef61e5040ad2d4be8064cde6ee1cadb8a371b222cd33971a96b40031cc1f51a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/5ef61e5040ad2d4be8064cde6ee1cadb8a371b222cd33971a96b40031cc1f51a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)
>
> ## Installation
>
> [](#installation)
>
> ```
> composer require xetaio/xetaravel-iptraceable
>
> ```
>
>
>
> #### ServiceProviders
>
> [](#serviceproviders)
>
> Import the `IpTraceableServiceProvider` in your `config/app.php`:
>
> ```
> 'providers' => [
>   //...
>   Xetaio\IpTraceable\Providers\IpTraceableServiceProvider::class,
>   //...
> ]
> ```
>
>
>
> #### Middleware
>
> [](#middleware)
>
> Import the `IpTraceable` middleware in your `app/Http/Kernel.php` in the `web` part:
>
> ```
> protected $middlewareGroups = [
>    'web' => [
>        //...
>        \Illuminate\Session\Middleware\StartSession::class,
>        \Xetaio\IpTraceable\Http\Middleware\IpTraceable::class,
>        //...
>    ],
>    //...
> ];
> ```
>
>
>
> **Note** : It's **very important** to import the middleware **after** the `Illuminate\Session\Middleware\StartSession` middleware, since this package use the session.
>
> #### Config file
>
> [](#config-file)
>
> Publish the package config file to your application :
>
> ```
> php artisan vendor:publish --provider="Xetaio\IpTraceable\Providers\IpTraceableServiceProvider" --tag=config
>
> ```
>
>
>
> #### Database
>
> [](#database)
>
> Create 2 fields `last_login_ip` and `last_login_date` (optional) in your database :
>
> ```
> // Must be nullable
> $table->ipAddress('last_login_ip')->nullable();
> $table->dateTime('last_login_date')->nullable(); // (optional) Disabled by default
> ```
>
>
>
> The fields name can be changed in the configuration file.
>
> ## Contribute
>
> [](#contribute)
>
> If you want to contribute to the project by adding new features or just fix a bug, feel free to do a PR.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance45

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% 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 ~316 days

Recently: every ~271 days

Total

10

Last Release

428d ago

Major Versions

v1.0.1 → v2.0.02020-08-02

v2.0.2 → 9.0.02022-03-30

9.0.0 → 10.0.02023-08-05

10.0.0 → 11.0.02024-06-18

11.0.0 → 12.0.02025-03-10

PHP version history (8 changes)v0.0.1PHP &gt;=7.0

v1.0.0PHP ^7.1.3

v2.0.0PHP ^7.2.5

v2.0.2PHP ^7.3|^8.0

9.0.0PHP &gt;=7.3

10.0.0PHP &gt;=8.1

11.0.0PHP &gt;=8.2

12.0.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![Xety](https://avatars.githubusercontent.com/u/8210023?v=4)](https://github.com/Xety "Xety (13 commits)")

---

Tags

iplaravellaravel-5-packagelogintraceableuserslaravelIPloginUserstraceable

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/xetaio-xetaravel-iptraceable/health.svg)

```
[![Health](https://phpackages.com/badges/xetaio-xetaravel-iptraceable/health.svg)](https://phpackages.com/packages/xetaio-xetaravel-iptraceable)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)

PHPackages © 2026

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