KABBOUCHI / nova-logs-tool by KABBOUCHI

A Laravel Nova tool to manage and keep track of each one of your logs files.
315,273
72
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-03-27 03:03:20
Package Statistics
Total Downloads: 315,273
Monthly Downloads: 3,477
Daily Downloads: 158
Total Stars: 72
Total Watchers: 6
Total Forks: 16
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.