We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Laravel v10.20 came out with a brand-new method called
createOrFirst()
, contributed by Tony Messias, which might be a little confusing because Laravel already had afirstOrCreate()
. What are the differences? Why do we need two methods for this? Let's take a look...
continue reading on laravel-news.com
⚠️ This post links to an external website. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.