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.