laravel is dirty code example Example: laravel model is dirty if($product->isDirty()){ // changes have been made }