Implement superadmin audit log for mutations
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-02 11:57:49 +01:00
parent 8b4950c79d
commit 412ecbe691
82 changed files with 1766 additions and 192 deletions

View File

@@ -1,8 +1,10 @@
<?php
use App\Models\SuperAdminActionLog;
use App\Services\Monitoring\PackageLimitMetrics;
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
@@ -21,3 +23,7 @@ Artisan::command('metrics:package-limits {--reset}', function () {
$this->comment('Package limit metrics cache was reset.');
}
})->purpose('Inspect package limit monitoring counters and optionally reset them');
Schedule::command('model:prune', [
'--model' => [SuperAdminActionLog::class],
])->daily();