how to laravel 5 project to upadated laravel 8 in stackoverflow code example
Example: create or update laravel 5.8 stackoverflow
$flight = App\Flight::updateOrCreate(
['departure' => 'Oakland', 'destination' => 'San Diego'],
['price' => 99]
);