Download the PHP package xetaio/xetaravel-iptraceable without Composer
On this page you can find all versions of the php package xetaio/xetaravel-iptraceable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package xetaravel-iptraceable
Xetaravel IpTraceable
Stable Version Downloads Laravel License A simple package that update an IP field when the user login into the application. Also work with the
remember_me
token.Requirement
Installation
ServiceProviders
Import the
IpTraceableServiceProvider
in yourconfig/app.php
:Middleware
Import the
IpTraceable
middleware in yourapp/Http/Kernel.php
in theweb
part:Note : It's very important to import the middleware after the
Illuminate\Session\Middleware\StartSession
middleware, since this package use the session.Config file
Publish the package config file to your application :
Database
Create 2 fields
last_login_ip
andlast_login_date
(optional) in your database :The fields name can be changed in the configuration file.
Contribute
If you want to contribute to the project by adding new features or just fix a bug, feel free to do a PR.
All versions of xetaravel-iptraceable with dependencies
illuminate/auth Version ^11.0
illuminate/contracts Version ^11.0
illuminate/database Version ^11.0
illuminate/http Version ^11.0
illuminate/support Version ^11.0
nesbot/carbon Version ^3.0