I recently started using Eloquent.
When I used PHP Active Record, there was a nice function that checked if a record was loaded from the database or is a new instan
$article = new Article; var_dump($article->id); == null $article = Article::find(1); var_dump($article->id); == string(1) "1"
so
if ($article->id) { // I am existing } else { // I am new }