KABBOUCHI / nova-logs-tool by KABBOUCHI

A Laravel Nova tool to manage and keep track of each one of your logs files.
337,560
73
6
Package Data
Maintainer Username: KABBOUCHI
Maintainer Contact: georges.kabbouchi@gmail.com (Georges KABBOUCHI)
Package Create Date: 2018-08-23
Package Last Update: 2023-02-20
Home Page:
Language: Vue
License: MIT
Last Refreshed: 2024-11-23 03:00:13
Package Statistics
Total Downloads: 337,560
Monthly Downloads: 2,004
Daily Downloads: 63
Total Stars: 73
Total Watchers: 6
Total Forks: 17
Total Open Issues: 12

Nova tool to for logs

Latest Version on Packagist Total Downloads

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

screenshot of the backup tool

Behind the scenes kabbouchi/laravel-ward is used.

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require kabbouchi/nova-logs-tool

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(),
    ];
}

Authorization

// in app/Providers/NovaServiceProvder.php

// ...

public function tools()
{
    return [
        // ...
        (new \KABBOUCHI\LogsTool\LogsTool())
                ->canSee(function ($request) {
                    return true;
                })
                ->canDownload(function ($request) {
                    return true;
                })
                ->canDelete(function ($request) {
                    return false;
                }),
    ];
}

Usage

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

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

The MIT License (MIT). Please see License File for more information.