PHPackages                             leobsst/filament-log-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. leobsst/filament-log-manager

ActiveLibrary[Admin Panels](/categories/admin)

leobsst/filament-log-manager
============================

Read Laravel logs from the Filament admin panel

v1.0.3(2mo ago)05.2k↓89%MITPHPPHP ^8.2CI passing

Since Oct 6Pushed 2mo agoCompare

[ Source](https://github.com/leobsst/filament-log-manager)[ Packagist](https://packagist.org/packages/leobsst/filament-log-manager)[ Docs](https://github.com/leobsst/filament-log-manager)[ GitHub Sponsors](https://github.com/LEOBSST)[ RSS](/packages/leobsst-filament-log-manager/feed)WikiDiscussions 1.x Synced today

READMEChangelog (4)Dependencies (26)Versions (8)Used By (0)

Filament log manager
====================

[](#filament-log-manager)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1b1e10e55c399d93169b086124295fc2fdbe978236813850fcaac4ba7df043c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656f627373742f66696c616d656e742d6c6f672d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/leobsst/filament-log-manager)[![Laravel](https://camo.githubusercontent.com/2775b746f275aaab77dc504806a58e51467d8e8c1f1e480db3da0bcb693e844a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d5631322e302532302537432532305631332e302d4646324432303f6c6f676f3d6c61726176656c)](https://laravel.com)[![Filament](https://camo.githubusercontent.com/499efb2d33029e6a5d2d1f01d2b604f1bff9a76eb2a5fe45594ba2c923a896b5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d563425323025374325323056352d4644414534423f6c6f676f3d66696c616d656e74)](https://filamentphp.com/)[![PHP](https://camo.githubusercontent.com/c4592483be21a67431df3607bb00d9aa91ffb5c78a669a30d52ae5acded2f96a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d3737374242343f6c6f676f3d706870)](https://www.php.net)

[![GitHub Tests Action Status](https://camo.githubusercontent.com/53d609dcec57027af7f57979870c3fec3aad9694cfb84a6cd3f4c7a1c27dd26c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c656f627373742f66696c616d656e742d6c6f672d6d616e616765722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/leobsst/filament-log-manager/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/0241a09dc4d4bd4a24d3fd40355108f3a1c69c14620e17eb4ff844cee37e77e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c656f627373742f66696c616d656e742d6c6f672d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/leobsst/filament-log-manager)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](https://opensource.org/licenses/MIT)

Read Laravel logs from the Filament v4 admin panel.

Features
========

[](#features)

- Syntax highlighting
- Light/Dark mode
- Quickly jump between start and end of the file
- Refresh log contents
- Delete log files
- Search multiple files in multiple directories
- Ignored file patterns

Available languages
===================

[](#available-languages)

- 🇬🇧 English
- 🇫🇷 French
- 🇪🇸 Spanish

Installation
------------

[](#installation)

### Requirements

[](#requirements)

- PHP 8.2 or higher
- Laravel 11.x or 12.x or 13.x
- Filament 4.x or 5.x
- Pest 3.x or 4.x for testing (dev dependency)

You can install the package via composer:

```
composer require leobsst/filament-log-manager
```

Important

If you have not set up a custom theme and are using Filament Panels follow the instructions in the [Filament Docs](https://filamentphp.com/docs/4.x/styling/overview#creating-a-custom-theme) first.

After setting up a custom theme add the plugin's views to your theme css file or your app's css file if using the standalone packages.

```
/* PLUGIN STYLE */
@import '../../../../vendor/leobsst/filament-log-manager/resources/css/index.css';

/* COMPILE TAILWINDCSS DIRECTIVES IN VIEWS */
@source '../../../../vendor/leobsst/filament-log-manager/resources/views/**/*.blade.php';
```

Usage
-----

[](#usage)

Add the `Leobsst\FilamentLogManager\FilamentLogManager` to your panel config.

```
use Leobsst\FilamentLogManager\FilamentLogManager;

class AdminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            // ...
            ->plugin(
                FilamentLogManager::make()
            );
    }
}
```

Configuration
-------------

[](#configuration)

### Customizing the navigation

[](#customizing-the-navigation)

```
FilamentLogManager::make()
    ->navigationGroup('System')
    ->navigationParentItem('Tools')
    ->navigationLabel('Logs')
    ->navigationIcon('heroicon-o-server')
    ->activeNavigationIcon('heroicon-s-server')
    ->navigationBadge('+10')
    ->navigationBadgeColor('danger')
    ->navigationBadgeTooltip('New logs available')
    ->navigationSort(1)
    ->title('Application Logs')
    ->slug('logs')
```

### Customizing the log search

[](#customizing-the-log-search)

```
FilamentLogManager::make()
  ->logDirs([
      storage_path('logs'), // The default value
  ])
  ->excludedFilesPatterns([
      '*2025*'
  ])
```

### Authorization

[](#authorization)

If you would like to prevent certain users from accessing the logs page, you should add a `authorize` callback in the FilamentLogManager chain.

```
FilamentLogManager::make()
  ->authorize(
      fn () => auth()->user()->hasRole('admin')
  )
```

You can also prevent certain users from performing certain actions.

```
FilamentLogManager::make()
  ->canDeleteUsing(
      fn () => auth()->user()->hasRole('admin')
  )
```

```
FilamentLogManager::make()
  ->canDownloadUsing(
      fn () => auth()->user()->hasRole('support')
  )
```

### Customizing the log page

[](#customizing-the-log-page)

To customize the log page, you can extend the `Leobsst\FilamentLogManager\Pages\Logs` page and override its methods.

```
use Leobsst\FilamentLogManager\Pages\Logs as BaseLogs;

class Logs extends BaseLogs
{
    // Your implementation
}
```

```
use App\Filament\Pages\Logs;

FilamentLogManager::make()
  ->viewLog(Logs::class)
```

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-log-manager-config"
```

This is the contents of the published config file:

```
return [
    //=======================================
    // LOG EDITOR INTERFACE
    //=======================================
    /**
     * Maximum amount of lines that editor will render.
     */
    'max_lines' => 45,

    /**
     * Minimum amount of lines that editor will render.
     */
    'min_lines' => 10,

    /**
     * Editor font size.
     */
    'font_size' => 12,

    //=======================================
    // FILE MANAGEMENT
    //=======================================
    /**
     * Set max file size reader
     * Default 5242880 = 5 MB
     */
    'max_file_size' => 5242880,

    //=======================================
    // PAGE FORM
    //=======================================
    /**
     * Limit the number of results returned from the search.
     * If set to -1 or null or 0 there is no limit.
     */
    'limit' => -1,
];
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [LEOBSST](https://github.com/leobsst)
- [B.L.A.M. PRODUCTION](https://linksly.fr/BLAM-PRODUCTION)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance85

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 67.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~49 days

Total

5

Last Release

72d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46266177?v=4)[LEOBSST](/maintainers/leobsst)[@leobsst](https://github.com/leobsst)

---

Top Contributors

[![leobsst](https://avatars.githubusercontent.com/u/46266177?v=4)](https://github.com/leobsst "leobsst (45 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (19 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravelfilament-log-managerLEOBSST

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/leobsst-filament-log-manager/health.svg)

```
[![Health](https://phpackages.com/badges/leobsst-filament-log-manager/health.svg)](https://phpackages.com/packages/leobsst-filament-log-manager)
```

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[stephenjude/filament-debugger

About

104162.2k2](/packages/stephenjude-filament-debugger)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

274327.0k8](/packages/croustibat-filament-jobs-monitor)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

209151.3k2](/packages/guava-filament-knowledge-base)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
