LaravelPackages.net
Acme Inc.
Toggle sidebar
spiritsaint/code-difference

A Laravel Nova field to view differences between two inputs.

3.925
3
About spiritsaint/code-difference

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

Laravel Nova

CodeDifference Field

The following field can be used to view differences between two inputs.

Usage

CodeDifference::make(__("Differences"), function() {
    return ["past" => $this->past, "next" => $this->next];
})->onlyOnDetail()

Dependencies

  • Vue Code Diff (vue-code-diff on npm)

Thanks!

License

This code is public and open-source using MIT License.

Star History Chart