feat: add Filament packages for enhanced admin functionality

- Add backstage/filament-mails for mail management interface
  - Add binarybuilds/filament-failed-jobs for failed job monitoring
  - Add gboquizosanchez/filament-log-viewer for application log viewing
  - Add jacobtims/filament-logger for enhanced logging capabilities
  - Extend Filament admin panel with comprehensive monitoring tools
  - Improve developer experience with better visibility into system operations
This commit is contained in:
idevakk
2025-11-17 06:33:07 -08:00
parent e330c4f90e
commit bbbaf3a234
55 changed files with 2598 additions and 67 deletions

View File

@@ -0,0 +1,119 @@
<?php
declare(strict_types=1);
return [
/* -----------------------------------------------------------------
| Driver
| -----------------------------------------------------------------
| Available drivers: 'daily', 'stack', 'raw'
| -----------------------------------------------------------------
*/
'driver' => env('FILAMENT_LOG_VIEWER_DRIVER', env('LOG_CHANNEL', 'stack')),
/* -----------------------------------------------------------------
| Resource configuration
| -----------------------------------------------------------------
*/
'resource' => [
'slug' => 'logs',
'cluster' => null,
],
/* -----------------------------------------------------------------
| Logs files can be cleared
| -----------------------------------------------------------------
*/
'clearable' => env('FILAMENT_LOG_VIEWER_CLEARABLE', false),
/* -----------------------------------------------------------------
| Log files storage path
| -----------------------------------------------------------------
*/
'storage_path' => storage_path('logs'),
/* -----------------------------------------------------------------
| Log files pattern
| -----------------------------------------------------------------
*/
'pattern' => [
'prefix' => 'laravel-',
'date' => '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]',
'extension' => '.log'
],
/* -----------------------------------------------------------------
| Log entries per page
| -----------------------------------------------------------------
| This defines how many logs and entries are displayed per page.
*/
'per-page' => [
5,
10,
25,
30,
],
/* -----------------------------------------------------------------
| Download settings
| -----------------------------------------------------------------
*/
'download' => [
'prefix' => 'laravel-',
'extension' => 'log',
],
/* -----------------------------------------------------------------
| Icons
| -----------------------------------------------------------------
*/
'icons' => [
'all' => 'fas-list', // http://fontawesome.io/icon/list/
'emergency' => 'fas-bug', // http://fontawesome.io/icon/bug/
'alert' => 'fas-bullhorn', // http://fontawesome.io/icon/bullhorn/
'critical' => 'fas-heartbeat', // http://fontawesome.io/icon/heartbeat/
'error' => 'fas-times-circle', // http://fontawesome.io/icon/times-circle/
'warning' => 'fas-exclamation-triangle', // http://fontawesome.io/icon/exclamation-triangle/
'notice' => 'fas-exclamation-circle', // http://fontawesome.io/icon/exclamation-circle/
'info' => 'fas-info-circle', // http://fontawesome.io/icon/info-circle/
'debug' => 'fas-life-ring', // http://fontawesome.io/icon/life-ring/
],
/* -----------------------------------------------------------------
| Colors
| -----------------------------------------------------------------
*/
'colors' => [
'levels' => [
'all' => '#8A8A8A',
'emergency' => '#B71C1C',
'alert' => '#D32F2F',
'critical' => '#F44336',
'error' => '#FF5722',
'warning' => '#FF9100',
'notice' => '#4CAF50',
'info' => '#1976D2',
'debug' => '#90CAF9',
],
],
/* -----------------------------------------------------------------
| Strings to highlight in stack trace
| -----------------------------------------------------------------
*/
'highlight' => [
'^#\d+', '^Stack trace:',
],
];