Hey, my book is finally available. Find it here.  Eloquent Beyond The Basics!

🔥 Laravel Tip: Update or create

May 1, 2022

You can use the updateOrCreate method to update a record if it exists or create it if it doesn't.
tip-image-0