Alex Garrett-Smith
alex.gs
Alex Garrett-Smith
@alex.gs
Calling the syncWithoutDetaching method on a Belongs To Many relationship now automatically handles empty values like an empty collection, empty array, or null.
July 10, 2025 at 10:17 AM
New string methods, doesntStartWith and doesntEndWith offer a more readable way to check if strings don’t start or end with a substring.
July 10, 2025 at 10:17 AM
It’s now much easier to fetch config as a Collection.
July 10, 2025 at 10:17 AM
Fluent objects are now iterable.
July 10, 2025 at 10:17 AM
Here are some of the updates included in this week's edition of the New in Laravel newsletter! ↓

A new context Blade directive has been added, allowing you to check and fetch context values easily.
July 10, 2025 at 10:17 AM
Finally, listening for model notifications just got easier with the new useEchoNotification hook for React and Vue.
June 4, 2025 at 9:04 AM
You can now call static methods on Collection items using higher order syntax.
June 4, 2025 at 9:04 AM
Reordering queries in descending order is now simpler with the new reorderDesc method.
June 4, 2025 at 9:04 AM
In this week's edition of the newinlaravel.com newsletter! ↓

Cast database strings directly into URI objects with a brand new `AsUri` cast.
June 4, 2025 at 9:04 AM
Another new test assertion. Test redirections to controller actions with the new assertRedirectToAction method.
May 21, 2025 at 9:24 AM
Next, a new assertClientError method helps API response testing by checking if status codes fall in the 4xx range.
May 21, 2025 at 9:24 AM
Here’s what’s new in Laravel 12.15.0!

First, you can now provide a default value when retrieving an enum from request data.
May 21, 2025 at 9:24 AM