spiritsaint / code-difference
A Laravel Nova field to view differences between two inputs.
dev-master
2022-04-08 01:53 UTC
Requires
- php: >=7.1.0
This package is not auto-updated.
Last update: 2025-02-07 18:46:49 UTC
README
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.