A Laravel Nova field to view differences between two inputs.
spiritsaint/code-difference is a Laravel package for a laravel nova field to view differences between two inputs..
It currently has 3 GitHub stars and 3.925 downloads on Packagist.
Install it with composer require spiritsaint/code-difference.
Discover more Laravel packages by spiritsaint
or browse all Laravel packages to compare alternatives.
Last updated
The following field can be used to view differences between two inputs.
CodeDifference::make(__("Differences"), function() {
return ["past" => $this->past, "next" => $this->next];
})->onlyOnDetail()
Thanks!
This code is public and open-source using MIT License.