feat: Integrate AchyutN Filament Log Viewer package for enhanced log management in the admin panel
This commit is contained in:
parent
aad22a8b59
commit
9207b1aaf4
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Providers\Filament;
|
namespace App\Providers\Filament;
|
||||||
|
|
||||||
|
use AchyutN\FilamentLogViewer\FilamentLogViewer;
|
||||||
use App\Filament\Pages\Auth\Login;
|
use App\Filament\Pages\Auth\Login;
|
||||||
use App\Filament\Pages\Profile;
|
use App\Filament\Pages\Profile;
|
||||||
use DiogoGPinto\AuthUIEnhancer\AuthUIEnhancerPlugin;
|
use DiogoGPinto\AuthUIEnhancer\AuthUIEnhancerPlugin;
|
||||||
@ -80,6 +81,13 @@ public function panel(Panel $panel): Panel
|
|||||||
'#f97316',
|
'#f97316',
|
||||||
'#10b981',
|
'#10b981',
|
||||||
]),
|
]),
|
||||||
|
|
||||||
|
FilamentLogViewer::make()
|
||||||
|
->navigationGroup('Sistem')
|
||||||
|
->navigationIcon('heroicon-o-server-stack')
|
||||||
|
->navigationLabel('Log')
|
||||||
|
->navigationUrl('/system/logs')
|
||||||
|
->pollingTime(null),
|
||||||
])
|
])
|
||||||
->maxContentWidth('full')
|
->maxContentWidth('full')
|
||||||
->defaultAvatarProvider(FacehashProvider::class)
|
->defaultAvatarProvider(FacehashProvider::class)
|
||||||
@ -88,6 +96,7 @@ public function panel(Panel $panel): Panel
|
|||||||
'Master',
|
'Master',
|
||||||
'Pembelajaran',
|
'Pembelajaran',
|
||||||
'Informasi',
|
'Informasi',
|
||||||
|
'Sistem',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,6 +7,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.2",
|
"php": "^8.2",
|
||||||
|
"achyutn/filament-log-viewer": "^2.1",
|
||||||
"asmit/filament-upload": "^2.0",
|
"asmit/filament-upload": "^2.0",
|
||||||
"diogogpinto/filament-auth-ui-enhancer": "^2.0",
|
"diogogpinto/filament-auth-ui-enhancer": "^2.0",
|
||||||
"filament/filament": "^5.0",
|
"filament/filament": "^5.0",
|
||||||
|
|||||||
159
composer.lock
generated
159
composer.lock
generated
@ -4,8 +4,94 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "a83572109ce443bd242db06e43da23d5",
|
"content-hash": "fb3b39bd93675cf5a357cae91a0f35e9",
|
||||||
"packages": [
|
"packages": [
|
||||||
|
{
|
||||||
|
"name": "achyutn/filament-log-viewer",
|
||||||
|
"version": "v2.1.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/achyutkneupane/filament-log-viewer.git",
|
||||||
|
"reference": "baf87efffe91fb0d70c537e85bede68dcc49f522"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/achyutkneupane/filament-log-viewer/zipball/baf87efffe91fb0d70c537e85bede68dcc49f522",
|
||||||
|
"reference": "baf87efffe91fb0d70c537e85bede68dcc49f522",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"filament/filament": "^5",
|
||||||
|
"livewire/livewire": "^4",
|
||||||
|
"phiki/phiki": "^2.0",
|
||||||
|
"php": ">=8.2"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"larastan/larastan": "^3.8",
|
||||||
|
"laravel/pint": "^1.27",
|
||||||
|
"orchestra/testbench": "^10.9",
|
||||||
|
"pestphp/pest": "^4.3",
|
||||||
|
"pestphp/pest-plugin-laravel": "^4.0",
|
||||||
|
"pestphp/pest-plugin-livewire": "^4.1",
|
||||||
|
"phpstan/phpstan": "^2.1",
|
||||||
|
"rector/rector": "^2.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"AchyutN\\FilamentLogViewer\\LogViewerProvider"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"AchyutN\\FilamentLogViewer\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Achyut Neupane",
|
||||||
|
"email": "achyutkneupane@gmail.com",
|
||||||
|
"homepage": "https://achyut.com.np",
|
||||||
|
"role": "Maintainer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A Filament package to view and manage Laravel logs.",
|
||||||
|
"keywords": [
|
||||||
|
"Viewer",
|
||||||
|
"filament",
|
||||||
|
"laravel",
|
||||||
|
"log"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/achyutkneupane/filament-log-viewer/issues",
|
||||||
|
"source": "https://github.com/achyutkneupane/filament-log-viewer/tree/v2.2.0"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://www.buymeacoffee.com/achyutn",
|
||||||
|
"type": "buy_me_a_coffee"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://buymemomo.com/achyut",
|
||||||
|
"type": "custom"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://github.com/achyutkneupane",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://www.patreon.com/Achyut",
|
||||||
|
"type": "patreon"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2026-01-30T17:43:23+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "anourvalar/eloquent-serialize",
|
"name": "anourvalar/eloquent-serialize",
|
||||||
"version": "1.3.5",
|
"version": "1.3.5",
|
||||||
@ -4497,6 +4583,77 @@
|
|||||||
},
|
},
|
||||||
"time": "2025-09-24T15:06:41+00:00"
|
"time": "2025-09-24T15:06:41+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "phiki/phiki",
|
||||||
|
"version": "v2.1.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/phikiphp/phiki.git",
|
||||||
|
"reference": "b16020573e9f4ad3c9d230c17ed4c84c15356e28"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/phikiphp/phiki/zipball/b16020573e9f4ad3c9d230c17ed4c84c15356e28",
|
||||||
|
"reference": "b16020573e9f4ad3c9d230c17ed4c84c15356e28",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-mbstring": "*",
|
||||||
|
"league/commonmark": "^2.5.3",
|
||||||
|
"php": "^8.2",
|
||||||
|
"psr/simple-cache": "^3.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"illuminate/support": "^11.45",
|
||||||
|
"laravel/pint": "^1.18.1",
|
||||||
|
"orchestra/testbench": "^9.15",
|
||||||
|
"pestphp/pest": "^3.5.1",
|
||||||
|
"phpstan/extension-installer": "^1.4.3",
|
||||||
|
"phpstan/phpstan": "^2.0",
|
||||||
|
"symfony/var-dumper": "^7.1.6"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"Phiki\\Adapters\\Laravel\\PhikiServiceProvider"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Phiki\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Ryan Chandler",
|
||||||
|
"email": "support@ryangjchandler.co.uk",
|
||||||
|
"homepage": "https://ryangjchandler.co.uk",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Syntax highlighting using TextMate grammars in PHP.",
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/phikiphp/phiki/issues",
|
||||||
|
"source": "https://github.com/phikiphp/phiki/tree/v2.1.0"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/sponsors/ryangjchandler",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://buymeacoffee.com/ryangjchandler",
|
||||||
|
"type": "other"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2026-01-20T21:26:48+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "phpoption/phpoption",
|
"name": "phpoption/phpoption",
|
||||||
"version": "1.9.5",
|
"version": "1.9.5",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user