Recent posts with #readLaravelDocs

Isn't it awesome that you can just dd or dump your queries whenever you want in the Laravel query builder? 🤌

#readLaravelDocs
image

74

Laravel devs, did you know? In form requests, you can redirect users to any URL on failure instead of just back(). Mind blown? 🤯

#readLaravelDocs
image

88

Laravel devs, did you know? In scoped relationships, using withAttributes instead of a where condition applies the filter and includes those attributes when creating records. 💪

Isn't it Handy? 🤯

#readLaravelDocs
image

49

Laravel devs, did you know `Str::swap` can replace multiple substrings at once? 🤯

And are you familiar with PHP's `strtr` function? 👀
#readLaravelDocs
image

62

Laravel developers, did you know we have class and style directiv, have you used them, do you have a good use-case? 🤔

I used class directive many times but never used a style directive.
#readLaravelDocs
image

83