Laravel Eloquent: Comparing Models

If ($post->is($anotherPost)) {
    //
}

Laravel Eloquent: Comparing Models — Structure map

Clickable & Draggable!

Laravel Eloquent: Comparing Models — Related pages: