{ All snippets }

Tweetsnippet is a curated list of tips and tricks from Twitter.

Tim MacDonald

Tim MacDonald @timacdonald87

🍭 You can utilise the Illuminate\Support Str + Arr classes in views without importing them No need to reach for a fully qualified name or the str_ / arr_ helpers They are defined as an alias in config/app.php which makes them available in the root namespace They just work™️ https://t.co/gUcutOebUL

Liam Hammett

Liam Hammett @LiamHammett

🔥 I often find myself keeping validation rules in a method on the model. This lets me reuse them wherever I may need - including in controllers or form requests. https://t.co/QDjYFEN2vM