palpalani / nova-activitylog

A Laravel Nova Activity Log tool based on spatie/laravel-activitylog

Home Page:https://targetbay.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nova-activitylog

Laravel Nova ActivityLog resource tool based on spatie/laravel-activitylog

Requirements

This Nova field requires Nova 2 and spatie/laravel-activitylog

Installation

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

composer require sashalenz/nova-activitylog

You can publish the migration for creating extra field named "request" with:

php artisan vendor:publish --provider="Sashalenz\NovaActivitylog\ToolServiceProvider" --tag="migrations"

After publishing the migration you can update existed activity_log table by running the migrations:

php artisan migrate

You can optionally publish the config file with:

php artisan vendor:publish --provider="Sashalenz\NovaActivitylog\ToolServiceProvider" --tag="config"

And you can optionally publish the localization files with:

php artisan vendor:publish --provider="Sashalenz\NovaActivitylog\ToolServiceProvider" --tag="translations"

Usage

// in app/Providers/NovaServiceProvder.php

// ...

public function tools()
{
    return [
        // ...
        new \Sashalenz\NovaActivitylog\NovaActivitylog(),
    ];
}

License

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

About

A Laravel Nova Activity Log tool based on spatie/laravel-activitylog

https://targetbay.com


Languages

Language:PHP 93.1%Language:Blade 6.9%