update eloquent in laravel 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);