Alex Garrett-Smith @alex.gs · 10/07/2025Calling the syncWithoutDetaching method on a Belongs To Many relationship now automatically handles empty values like an empty collection, empty array, or null. 100
Alex Garrett-Smith @alex.gs · 10/07/2025New string methods, doesntStartWith and doesntEndWith offer a more readable way to check if strings don’t start or end with a substring. 100
Alex Garrett-Smith @alex.gs · 10/07/2025Here 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. 120
Alex Garrett-Smith @alex.gs · 04/06/2025Finally, listening for model notifications just got easier with the new useEchoNotification hook for React and Vue. 100
Alex Garrett-Smith @alex.gs · 04/06/2025You can now call static methods on Collection items using higher order syntax. 100
Alex Garrett-Smith @alex.gs · 04/06/2025Reordering queries in descending order is now simpler with the new reorderDesc method. 100
Alex Garrett-Smith @alex.gs · 04/06/2025In this week's edition of the newinlaravel.com newsletter! ↓ Cast database strings directly into URI objects with a brand new `AsUri` cast. 110
Alex Garrett-Smith @alex.gs · 21/05/2025Another new test assertion. Test redirections to controller actions with the new assertRedirectToAction method. 100
Alex Garrett-Smith @alex.gs · 21/05/2025Next, a new assertClientError method helps API response testing by checking if status codes fall in the 4xx range. 100
Alex Garrett-Smith @alex.gs · 21/05/2025Here’s what’s new in Laravel 12.15.0! First, you can now provide a default value when retrieving an enum from request data. 121