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. leobsst/filament-log-manager

ActiveLibrary

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

Read Laravel logs from the Filament admin panel

v1.0.1(7mo ago)02.2k↓48.9%[1 PRs](https://github.com/leobsst/filament-log-manager/pulls)MITPHPPHP ^8.2CI passing

Since Oct 6Pushed 1mo 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 1mo ago

READMEChangelog (2)Dependencies (13)Versions (5)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)[![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)[![Laravel](https://camo.githubusercontent.com/eaa3049342603727b72e16b7524afa1053aacfb9064d56153eabc21e153b2a15/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e302d4646324432303f6c6f676f3d6c61726176656c)](https://laravel.com)[![PHP](https://camo.githubusercontent.com/c4592483be21a67431df3607bb00d9aa91ffb5c78a669a30d52ae5acded2f96a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d3737374242343f6c6f676f3d706870)](https://www.php.net)

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
- Filament 4.x
- Pest 3.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

43

—

FairBetter than 91% of packages

Maintenance78

Regular maintenance activity

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.3% 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 ~82 days

Total

3

Last Release

61d 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 (31 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (16 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 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

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[guava/filament-knowledge-base

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

206120.5k1](/packages/guava-filament-knowledge-base)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[bezhansalleh/filament-plugin-essentials

A collection of essential traits that streamline Filament plugin development by taking care of the boilerplate, so you can focus on shipping real features faster

27584.7k16](/packages/bezhansalleh-filament-plugin-essentials)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)

PHPackages © 2026

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