Ever wanted to know if the changes you've made to a model have altered the value for a key? No problem, simply reach for originalIsEquivalent.
1$user = User::first(); // ['name' => "John'] 2 3$user->name = 'John'; 4 5$user->originalIsEquivalent('name'); // true 6 7$user->name = 'David'; // Set directly 8$user->fill(['name' => 'David']); // Or set via fill 9 10$user->originalIsEquivalent('name'); // false
Tip given by @mattkingshott