spiritsaint / code-difference
A Laravel Nova field to view differences between two inputs.
Installs: 3 014
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 3
Open Issues: 0
Language:Vue
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2025-04-28 11:18:09 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.