Skip to content

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

Notifications You must be signed in to change notification settings

sashalenz/nova-activitylog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published