PHPackages                             jeremykenedy/laravel-ip-capture - 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. [Security](/categories/security)
4. /
5. jeremykenedy/laravel-ip-capture

ActiveLibrary[Security](/categories/security)

jeremykenedy/laravel-ip-capture
===============================

A Laravel package to automatically capture and track IP addresses on Eloquent model actions such as signup, login, update, and deletion.

v1.0.0(1mo ago)11↑2900%MITPHPPHP ^8.2|^8.3

Since Mar 28Pushed 1mo agoCompare

[ Source](https://github.com/jeremykenedy/laravel-ip-capture)[ Packagist](https://packagist.org/packages/jeremykenedy/laravel-ip-capture)[ RSS](/packages/jeremykenedy-laravel-ip-capture/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (2)Used By (0)

Laravel IP Capture
==================

[](#laravel-ip-capture)

A Laravel package to automatically capture and track IP addresses on Eloquent model actions such as signup, login, update, and deletion.

[![Total Downloads](https://camo.githubusercontent.com/da14ae8aee39138e4297ad80ad94449560d810a2a2735f9ef8c7a820fdb7546e/68747470733a2f2f706f7365722e707567782e6f72672f6a6572656d796b656e6564792f6c61726176656c2d69702d636170747572652f642f746f74616c2e737667)](https://packagist.org/packages/jeremykenedy/laravel-ip-capture)[![Latest Stable Version](https://camo.githubusercontent.com/6e815e56ca2350030f7b7830c6cbb357fd5495f152fef2a1e445cf80743441b4/68747470733a2f2f706f7365722e707567782e6f72672f6a6572656d796b656e6564792f6c61726176656c2d69702d636170747572652f762f737461626c652e737667)](https://packagist.org/packages/jeremykenedy/laravel-ip-capture)[![StyleCI](https://camo.githubusercontent.com/7a00e72e61ea7bc993d97448fcef0ff5f2c655298d7097c5272783a6632d47e7/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f313139343830373538382f736869656c643f6272616e63683d6d61696e)](https://github.styleci.io/repos/1194807588?branch=main)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

#### Table of Contents

[](#table-of-contents)

- [Features](#features)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
    - [Trait](#trait)
    - [Available Methods](#available-methods)
- [License](#license)

Features
--------

[](#features)

FeatureAutomatic IP capture on model eventsTracks signup, login, admin, update, and delete IPsSimple trait-based integrationWorks with any Eloquent modelProxy and load balancer awareInstallation
------------

[](#installation)

```
composer require jeremykenedy/laravel-ip-capture
```

Configuration
-------------

[](#configuration)

```
php artisan vendor:publish --tag=ip-capture-config
```

Usage
-----

[](#usage)

### Trait

[](#trait)

Add the `CapturesIp` trait to your User model:

```
use Jeremykenedy\LaravelIpCapture\Traits\CapturesIp;

class User extends Authenticatable
{
    use CapturesIp;
}
```

### Available Methods

[](#available-methods)

```
$user->setSignupIp();
$user->setAdminIp();
$user->setUpdatedIp();
$user->setDeletedIp();
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

46d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/05cef7d9ee65723b129042943511207fb34db74a56afbf67b5900987f758c161?d=identicon)[jeremykenedy](/maintainers/jeremykenedy)

---

Top Contributors

[![jeremykenedy](https://avatars.githubusercontent.com/u/6244570?v=4)](https://github.com/jeremykenedy "jeremykenedy (3 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

laravelsecuritytrackingIPAuditcapture

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/jeremykenedy-laravel-ip-capture/health.svg)

```
[![Health](https://phpackages.com/badges/jeremykenedy-laravel-ip-capture/health.svg)](https://phpackages.com/packages/jeremykenedy-laravel-ip-capture)
```

###  Alternatives

[alajusticia/laravel-logins

Session management in Laravel apps, user notifications on new access, support for multiple separate remember tokens, IP geolocation, User-Agent parser

2011.0k](/packages/alajusticia-laravel-logins)

PHPackages © 2026

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