Clone Your Eloquent Models

Posted by LaravelIndia - 1 year ago

// You can deep copy your eloquent model

$new = $model->replicate();

$new->save();