🔥 Weekly thread #44 of 2021

🔥 This week's tips for Laravel developers

Lots of great tweets this week, thanks to everyone for posting them! They're helpful to everyone in the community ❤️

You can use valueOrFail() to fetch a value from the database, or abort the request if the queried record does not exist

3

🔥 You can use valueOrFail() to fetch a value from the database, or abort the request if the queried record does not exist

You can use valueOrFail() to fetch a value from the database, or abort the request if the queried record does not exist

In the next blog posts, I'll cover Database and Eloquent improvements and new features in #Laravel 8.x.

Here's a great little feature that got added in v8.60 🔥

PR: https://github.com/laravel/framework/pull/38707

Yesterday's post about Collections: https://protone.media/en/blog/a-look-at-new-features-and-improvements-since-the-original-laravel-80-release-collections

#PHP #webdev #opensource

We're writing a book, you can get it for free here.