Enhanced Model Relationship Autoloading in Laravel
Need to prevent N+1 queries on single models? Laravel's enhanced relationship autoloading now works directly on individual models, not just collections. Previously, automatic relationship loading was only available on collections, requiring you to enable it separately for each relationship. Laravel now extends this functionality to individual models,