shareef_morad/logging
Composer 安装命令:
composer require shareef_morad/logging
包简介
logging models actions
README 文档
README
log changes on each model and db row
Installation
composer require shareef_morad/logging:dev-master- add service provider to config/app.php
Shareef_Morad\Logging\LoggingServiceProvider::class, - run
php artisan migrate - run
php artisan vendor:publishand choose package id
Configration
- edit config in "config/db-logging.php" every config has its own comment show how it use
usage
- to log action on model just add
use HasLogging;like example:
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Shareef_Morad\Logging\Models\HasLogging; class Slider extends Model{ use HasLogging; }
- display and search in log go to url "./backend/logging"
support
for any questions contact me at : elsayed_nofal@ymail.com
统计信息
- 总下载量: 38
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-13