laravel check if there is no changes before update code example
Example 1: laravel model is dirty
if($product->isDirty()){
// changes have been made
}
Example 2: check if value change laravel
You can use "$product->getChanges()" on Eloquent model even after persisting.