PHPackages                             kabbouchi/nova-logs-tool - 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. kabbouchi/nova-logs-tool

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

kabbouchi/nova-logs-tool
========================

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

v2.2.0(3y ago)73362.1k↑35.3%18[4 PRs](https://github.com/KABBOUCHI/nova-logs-tool/pulls)MITVuePHP &gt;=8

Since Aug 23Pushed 3y ago4 watchersCompare

[ Source](https://github.com/KABBOUCHI/nova-logs-tool)[ Packagist](https://packagist.org/packages/kabbouchi/nova-logs-tool)[ Docs](https://github.com/KABBOUCHI/nova-logs-tool)[ RSS](/packages/kabbouchi-nova-logs-tool/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (31)Used By (0)

Nova tool to for logs
=====================

[](#nova-tool-to-for-logs)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e0bd73d44bd714f752be0dd6c235ae160569cb561d341ae32c5138b74432aeef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6162626f756368692f6e6f76612d6c6f67732d746f6f6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kabbouchi/nova-logs-tool)[![Total Downloads](https://camo.githubusercontent.com/9962b895c6327e2d244d662449659084d1dc4db210460fb4a7680619a1fe3b35/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6162626f756368692f6e6f76612d6c6f67732d746f6f6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kabbouchi/nova-logs-tool)

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

[![screenshot of the backup tool](https://raw.githubusercontent.com/KABBOUCHI/nova-logs-tool/master/docs/screenshot.png?20180828)](https://raw.githubusercontent.com/KABBOUCHI/nova-logs-tool/master/docs/screenshot.png?20180828)

Behind the scenes [kabbouchi/laravel-ward](https://github.com/KABBOUCHI/laravel-ward) is used.

> You can disable `laravel-ward` routes by adding `LOG_VIEWER_ENABLE_ROUTES=false` to `.env` file

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

[](#installation)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require kabbouchi/nova-logs-tool

php artisan vendor:publish --tag=ward-assets --force
```

Next up, you must register the tool with Nova. This is typically done in the `tools` method of the `NovaServiceProvider`.

```
// in app/Providers/NovaServiceProvder.php

// ...

public function tools()
{
    return [
        // ...
        new \KABBOUCHI\LogsTool\LogsTool(),
    ];
}
```

Publish the package configuration file.

```
php artisan vendor:publish --provider="KABBOUCHI\LogsTool\LogsToolServiceProvider"
```

Authorization
-------------

[](#authorization)

```
// in app/Providers/NovaServiceProvder.php

// ...

public function tools()
{
    return [
        // ...
        // don't return plain `true` value or anyone can see/download/delete the logs, make sure to check if user has permission.
        (new \KABBOUCHI\LogsTool\LogsTool())
                ->canSee(function ($request) {
                    return auth()->user()->canSee();
                })
                ->canDownload(function ($request) {
                    return  auth()->user()->canDownload();
                })
                ->canDelete(function ($request) {
                    return false;
                }),
    ];
}
```

Usage
-----

[](#usage)

Click on the "nova-logs-tool" menu item in your Nova app to see the tool provided by this package.

Possible environment variables:

```
NOVA_LOGS_PER_PAGE=6
NOVA_LOGS_REGEX_FOR_FILES="/^laravel/"
```

### 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.

Credits
-------

[](#credits)

- [Georges KABBOUCHI](https://github.com/kabbouchi)

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

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 75.4% 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 ~68 days

Recently: every ~74 days

Total

25

Last Release

1183d ago

Major Versions

v0.6.0 → v1.0.02022-04-08

v0.7.0 → v2.0.02022-04-29

PHP version history (2 changes)v0.0.1PHP &gt;=7.1.0

v2.0.0PHP &gt;=8

### Community

Maintainers

![](https://www.gravatar.com/avatar/262a11f6a501bc3542b512aa3793e586f1162e8b300161824f1e13d425fa1bf3?d=identicon)[KABBOUCHI](/maintainers/KABBOUCHI)

---

Top Contributors

[![KABBOUCHI](https://avatars.githubusercontent.com/u/9212274?v=4)](https://github.com/KABBOUCHI "KABBOUCHI (43 commits)")[![andypa](https://avatars.githubusercontent.com/u/148700?v=4)](https://github.com/andypa "andypa (3 commits)")[![anditsung](https://avatars.githubusercontent.com/u/1090413?v=4)](https://github.com/anditsung "anditsung (2 commits)")[![ronnytorresmtz](https://avatars.githubusercontent.com/u/24813775?v=4)](https://github.com/ronnytorresmtz "ronnytorresmtz (2 commits)")[![eugenefvdm](https://avatars.githubusercontent.com/u/1836436?v=4)](https://github.com/eugenefvdm "eugenefvdm (1 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (1 commits)")[![Youniteus](https://avatars.githubusercontent.com/u/9739878?v=4)](https://github.com/Youniteus "Youniteus (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")[![tpetry](https://avatars.githubusercontent.com/u/315686?v=4)](https://github.com/tpetry "tpetry (1 commits)")[![wjstraver](https://avatars.githubusercontent.com/u/11840660?v=4)](https://github.com/wjstraver "wjstraver (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

laravelnovaphpvuelaravelnova

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kabbouchi-nova-logs-tool/health.svg)

```
[![Health](https://phpackages.com/badges/kabbouchi-nova-logs-tool/health.svg)](https://phpackages.com/packages/kabbouchi-nova-logs-tool)
```

###  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)[spatie/nova-tail-tool

A Laravel Nova tool to display the application log.

119128.2k1](/packages/spatie-nova-tail-tool)[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)[insenseanalytics/nova-server-monitor

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

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

Laravel Nova tool for checking healthy of your Laravel app

1372.9k](/packages/stepanenko3-nova-health)

PHPackages © 2026

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