Atomically Finding or Creating/Updating Records with Eloquent `firstOrCreate` and `updateOrCreate`
Efficiently manage database records in Laravel using `firstOrCreate` to find an existing record or create a new one, and `updateOrCreate` to update or create atomically.