youbar / nova-difference
A Laravel Nova field to display the difference between to values
Installs: 205
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Language:Vue
Requires
- php: ^7.3|^8.0
This package is auto-updated.
Last update: 2025-03-26 22:28:35 UTC
README
A Laravel Nova field to display the difference between to values. Especially useful with the use of Laravel Auditing
Installation
You can install the package via composer:
composer require youbar/nova-difference
Usage
Basic demo showing the power of this field:
use Youbar\Difference\Difference; class ExampleNovaResource extends Resource { public function fields(Request $request) { return [ Difference::make('Difference', 'old_values', 'new_values'), ]; } }
Demo
License
The MIT License (MIT). Please see License File for more information.