Multi Address Create - Laravel - Replicate

Run Settings
LanguagePHP
Language Version
Run Command
<?php use App\Models\Address; // FIRST ADDRESS $shipping = Address::create([ 'type' => 'main', 'line' => '123 Example Street', 'city' => 'Victorville', 'state' => 'CA', 'postcode' => '12234', ]); // SECOND ADDRESS $billing = $shipping->replicate()->fill([ 'type' => 'work' ]); // CREATE $billing->save();
Editor Settings
Theme
Key bindings
Full width
Lines