zahid566/logininfo
Composer 安装命令:
composer require zahid566/logininfo
包简介
This will help you to save user's login information.
README 文档
README
##This will help you to save user's login information in database
System Architecture
- Laravel Version 10.x
- php 8.1
Features
- Keep tracking users activity .
- Users's IP address will be saved.
- Current status of the user will be saved as an active user.
- Last login time will be stored.
Installation
composer require zahid566/logininfo:dev-main
Migration: After successfully installing the package, migration file need to be run .
php artisan migrate
After publishing the migrate file, add the service provider in provider section. Config -> app.php file
LoginInfo\loginInfoServiceProvider::class,
Before rendering the home page, write the code in controller
Use library : LoginInfo\Http\Controllers\LoginInfoController;
$objLoginInfoClass = new LoginInfoController();
$user_id = Auth::id();
$objLoginInfoClass->index($user_id);
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-03-06