laravel save new row code example
Example 1: laravel eloquent remove from db
$res=User::where('id',$id)->delete();
Example 2: create new record via model in laravel
$userData = array('username' => 'Me', 'email' => '[email protected]');
User::create($userData);