Tweet
Laravel Hot Tip 🔥
Use Laravel Eloquent updateOrCreate if you want to update the existing model or create a new model if no matching model exists.
#Laravel #buildinpublic #buildinginpublic #trick