Clone Your Eloquent Models

Posted by LaravelIndia - 6 months ago

// You can deep copy your eloquent model

$new = $model->replicate();

$new->save();