PHPackages                             dotburo/nova-log-level-field - 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. dotburo/nova-log-level-field

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

dotburo/nova-log-level-field
============================

Laravel Nova field for log and error level badges.

2.1.1(2y ago)160MITPHPPHP ^8.0

Since Dec 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/dotburo/nova-log-level-field)[ Packagist](https://packagist.org/packages/dotburo/nova-log-level-field)[ RSS](/packages/dotburo-nova-log-level-field/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Nova Log Level Field
====================

[](#nova-log-level-field)

[![Packagist](https://camo.githubusercontent.com/e3c4b17cb80eb1bae27bc438c62900c06e0fcf6d6b0067116eed3a707b952e87/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f746275726f2f6e6f76612d6c6f672d6c6576656c2d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dotburo/nova-log-level-field)[![Downloads](https://camo.githubusercontent.com/ec8a0709070cd2cad3a191253d69dfdff545b62d3042a01d4564f0a9a71e17e9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646f746275726f2f6e6f76612d6c6f672d6c6576656c2d6669656c643f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dotburo/nova-log-level-field)

Laravel Nova field to display an log level badge on index and detail views of models. Tiny single file package.

See the [screenshots here](https://novapackages.com/packages/dotburo/nova-log-level-field#screenshots).

Features
--------

[](#features)

- Follows the [PSR-3: Logger Interface](https://www.php-fig.org/psr/psr-3/) log levels
- Big or small badge layout
- Customizable badge colors
- Super tiny, neither css, nor js files

Install from [Packagist](https://packagist.org/packages/dotburo/laravel-molog)
------------------------------------------------------------------------------

[](#install-from-packagist)

```
composer require dotburo/nova-log-level-field

```

(For Nova 3.0, install `dotburo/nova-log-level-field:^1.2` instead.)

Usage
-----

[](#usage)

The package expects the value of the field to be one of [PSR-3 log level](https://www.php-fig.org/psr/psr-3/): **emergency**, **alert**, **critical**, **error**, **warning**, **notice**, **info** or **debug**.

```
// for example, in app/Nova/Post.php

use Dotburo\NovaLogLevel\LogLevelField;
use Psr\Log\LogLevel;

// ...

public function fields(Request $request) {
    return [
        LogLevelField::make('Level')
            // Optional, show a small badge
            ->small()
            // Optional, override one or more default colors
            ->colors([
                LogLevel::EMERGENCY => '#000000',
            ]),
    ];
}
```

License
-------

[](#license)

The MIT License (MIT). Please see the [license file](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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 ~116 days

Recently: every ~145 days

Total

6

Last Release

1031d ago

Major Versions

1.2.0 → 2.0.02023-07-12

PHP version history (3 changes)1.0.0PHP &gt;=7.1.0

1.2.0PHP ^7.1|^8.0

2.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b8ed2843e909fe0239c457f77f851ae07cfe022efe7e48c50e3166bf70da4fd?d=identicon)[pecuchet](/maintainers/pecuchet)

---

Top Contributors

[![pecuchet](https://avatars.githubusercontent.com/u/10818207?v=4)](https://github.com/pecuchet "pecuchet (11 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/dotburo-nova-log-level-field/health.svg)

```
[![Health](https://phpackages.com/badges/dotburo-nova-log-level-field/health.svg)](https://phpackages.com/packages/dotburo-nova-log-level-field)
```

###  Alternatives

[bolechen/nova-activitylog

A tool to activity logger to monitor the users of your Laravel Nova.

99683.9k4](/packages/bolechen-nova-activitylog)[php-junior/nova-logs

Provides a Log Viewer for Laravel Nova

77440.0k1](/packages/php-junior-nova-logs)[kabbouchi/nova-logs-tool

A Laravel Nova tool to manage and keep track of each one of your logs files.

73362.1k](/packages/kabbouchi-nova-logs-tool)[spatie/nova-tail-tool

A Laravel Nova tool to display the application log.

119128.2k1](/packages/spatie-nova-tail-tool)[insenseanalytics/nova-server-monitor

A Laravel Nova tool for Spatie's Server Monitor library.

6546.9k](/packages/insenseanalytics-nova-server-monitor)[stepanenko3/nova-logs-tool

A Laravel Nova tool to manage and keep track of each one of your logs files.

27112.9k](/packages/stepanenko3-nova-logs-tool)

PHPackages © 2026

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