Sign in

Alex Garrett-Smith

@alex.gs
100 followers 58 following 33 posts
PostsRepliesMedia
Alex Garrett-Smith @alex.gs · 10/07/2025
Calling 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/2025
New 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/2025
It’s now much easier to fetch config as a Collection.
110
Alex Garrett-Smith @alex.gs · 10/07/2025
Fluent objects are now iterable.
110
Alex Garrett-Smith @alex.gs · 10/07/2025
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.
120
Alex Garrett-Smith @alex.gs · 04/06/2025
Finally, listening for model notifications just got easier with the new useEchoNotification hook for React and Vue.
100
Alex Garrett-Smith @alex.gs · 04/06/2025
You can now call static methods on Collection items using higher order syntax.
100
Alex Garrett-Smith @alex.gs · 04/06/2025
Reordering queries in descending order is now simpler with the new reorderDesc method.
100
Alex Garrett-Smith @alex.gs · 04/06/2025
In 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/2025
Another new test assertion. Test redirections to controller actions with the new assertRedirectToAction method.
100
Alex Garrett-Smith @alex.gs · 21/05/2025
Next, 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/2025
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.
121