laravel eloquent model new record code example
Example: create new record via model in laravel
$userData = array('username' => 'Me', 'email' => 'me@yahoo.com');
User::create($userData);
$userData = array('username' => 'Me', 'email' => 'me@yahoo.com');
User::create($userData);