PHPackages                             xoshbin/flogger - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. xoshbin/flogger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

xoshbin/flogger
===============

Beautifull Logger for Filament

v1.2.2(4mo ago)036MITPHPPHP ^8.1

Since Dec 29Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/Xoshbin/flogger)[ Packagist](https://packagist.org/packages/xoshbin/flogger)[ RSS](/packages/xoshbin-flogger/feed)WikiDiscussions main Synced today

READMEChangelog (9)Dependencies (12)Versions (12)Used By (0)

Flogger
=======

[](#flogger)

**Flogger** is a beautiful and easy-to-use log viewer specifically designed for Filament admin panels. It provides a clean interface to view, filter, and manage your Laravel application logs directly from your Filament dashboard.

Features
--------

[](#features)

- **Integrated UI**: Seamlessly integrates with the Filament admin panel.
- **Log Viewing**: View daily log files with a clean, color-coded interface.
- **Filtering**: Automatically categorizes logs by level (e.g., Info, Error, Warning, Debug) with distinct styling.
- **Details**: Expand individual log entries to view the full stack trace or message.
- **Copy Functionality**: Easily copy full log details to your clipboard with a single click.
- **File Management**: Delete old log files directly from the viewer to free up space.
- **Navigation**: Easily navigate between different dates/log files.

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

[](#installation)

You can install the package via composer:

```
composer require xoshbin/flogger
```

Usage
-----

[](#usage)

### Registering the Plugin

[](#registering-the-plugin)

To use Flogger in your Filament panel, you need to register the `Flogger` plugin in your panel provider (e.g., `AdminPanelProvider`).

```
use Xoshbin\Flogger\Flogger;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(Flogger::make());
}
```

Since Flogger automatically registers its service provider, this will enable the Log Viewer page in your specified panel.

### Accessing the Log Viewer

[](#accessing-the-log-viewer)

1. Log in to your Filament Admin Panel.
2. Navigate to the **Settings** group in the sidebar.
3. Click on **Log Viewer**.

### Configuration

[](#configuration)

You can customize Flogger's behavior by publishing the configuration file:

```
php artisan vendor:publish --tag="flogger-config"
```

This will create a `config/flogger.php` file where you can specify patterns for files to exclude from the viewer (e.g., to ignore temporary schedule logs).

```
'exclude_files' => [
    'schedule-*',
],
```

The Log Viewer works by reading standard Laravel log files located in `storage/logs`. Ensure your application is configured to use the `daily` or `single` log channel, although `daily` provides the best experience with the file selector.

If you need to publish assets (though usually handled automatically):

```
php artisan vendor:publish --tag="flogger-assets"
```

Development
-----------

[](#development)

If you want to contribute or modify the package's styling:

1. **Install dependencies**:

    ```
    npm install
    ```
2. **Modifying Assets**:

    - **Blade Templates**: Changes to `resources/views` are reflected immediately. No build step required (just refresh your browser).
    - **CSS Styles**: If you modify `resources/css/flogger.css` or use new Tailwind classes in your views, you must recompile the CSS: ```
        npm run build
        ```
    - The compiled CSS is located at `resources/dist/flogger.css` and is automatically registered by the service provider.

Credits
-------

[](#credits)

- [Khoshbin](https://github.com/Xoshbin)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance75

Regular maintenance activity

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~5 days

Recently: every ~12 days

Total

10

Last Release

139d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/88844b024c613b0dff2f4355a3ce9938287ec682d1f27964fbee51857b3bd4ff?d=identicon)[khoshbin](/maintainers/khoshbin)

---

Top Contributors

[![Xoshbin](https://avatars.githubusercontent.com/u/1606070?v=4)](https://github.com/Xoshbin "Xoshbin (21 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/xoshbin-flogger/health.svg)

```
[![Health](https://phpackages.com/badges/xoshbin-flogger/health.svg)](https://phpackages.com/packages/xoshbin-flogger)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M165](/packages/spatie-laravel-health)[spatie/laravel-medialibrary

Associate files with Eloquent models

6.1k43.2M631](/packages/spatie-laravel-medialibrary)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k91.9k1](/packages/mike-bronner-laravel-model-caching)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1563.1k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

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