hbernaciak / ip-logger by hbernaciak

Laravel middleware for loggin vistors IP address
21
0
2
Package Data
Maintainer Username: hbernaciak
Maintainer Contact: hubi@hubi.pl (hbernaciak)
Package Create Date: 2016-11-09
Package Last Update: 2016-11-10
Language: PHP
License: Unknown
Last Refreshed: 2025-02-09 03:00:08
Package Statistics
Total Downloads: 21
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel middleware for logging vistors IP address

Middleware works on every request

Installation

Via Composer

$ composer require hbernaciak/ip-logger

Add service provider to your app.php file to 'providers'

\Hbernaciak\IpLogger\IpLoggerServiceProvider::class

Publish & Migrate. Change the table name as you need.

$ php artisan vendor:publish
$ php artisan migrate