Hi devs! π
I just wrote a new blog covering some lesser-known but super powerful Laravel model features:
boot() β how to trigger logic on events
hasBootTrait() β new in Laravel 11 for booting trait logic automatically
Lazy Collections β memory-friendly processing for big data
Global & Local Scopes β DRY and clean filtering
Building self-contained, reusable model logic using traits
Whether you're building a blog, SaaS, or API, these tips will improve your performance and structure.
Read the full blog here:
π¬ Have you used these before? Share your experience!
Top comments (0)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.