BBohdan Chyriukin·Aug 4How to Boost Eloquent Performance Without Raw SQL: From N+1 to Deep OptimizationLearn how to optimize Laravel Eloquent without Raw SQL. Fix N+1 queries, use withCount, exists, addSelect, chunkById, lazy and cursor effectively.8 min read·chikukinbb.hashnode.dev
DDeploynix·Apr 25N+1 Query Detection and Prevention in Laravel Production AppsThe N+1 query problem is the most common performance issue in Laravel applications, and it's the easiest to introduce accidentally. A developer adds $post->author->name in a Blade template, and suddenly a page that loaded 10 posts now executes 11 dat...8 min read·deploynix.hashnode.dev
NNishil Bhave·Mar 28PHP 8.1 Enums: Backed Enums and Laravel Eloquent CastsPHP 8.1 Enums: Backed Enums and Laravel Eloquent Casts PHP enums landed in version 8.1, and they've quietly become one of the most adopted features across the ecosystem. With 85.9% of Packagist users now running PHP 8.x (Stitcher.io, June 2026), ther...17 min read·nishilbhave.hashnode.dev
PPrajapati Paresh·Mar 18Why Eloquent is Silently Killing Your Laravel App's PerformanceThe ORM Illusion Laravel's Eloquent ORM is a masterpiece of developer experience. Being able to type $user->invoices->first()->amount and magically get a value without writing a single line of SQL fee2 min read·smarttechdevs.hashnode.dev1
Rrecca0120·Mar 8Fix Laravel Eloquent Memory Leak with Large DatasetsEloquent caches loaded relations on every Model instance, causing memory to climb in large loops. Call setRelations([]) on each iteration to release the cache.1 min read·recca0120.hashnode.dev
Rrecca0120·Mar 8Eloquent Macro: Fire Specific Events After saveQuietlySave a model silently with saveQuietly, then selectively dispatch created or other Eloquent model events via a custom Builder macro fire method in Laravel.2 min read·recca0120.hashnode.dev
RRohit Dhiman·Mar 6Introduction to Eloquent ORM in LaravelLaravel’s Eloquent ORM makes database queries readable, simple, and developer-friendly.4 min read·rohitdhiman91.hashnode.dev
BBirendra Gurung·Jan 6Fixing PHPStan map() Type Errors with Laravel Eloquent CollectionsLearn how to fix PHPStan type errors in Laravel collections using proper Eloquent relationship annotations and method typing3 min read·blog.jobins.jp
AAmindu Saputhanthri·Dec 7, 2025Eloquent PerformanceOptimizing Queries Before You Need Cache4 min read·aminduishara.hashnode.dev
RRohit Dhiman·Aug 6, 2025Laravel Tinker: Your Best Friend for Testing, Learning, and DebuggingLaravel Tinker completely changed how I test and learn Laravel - here’s why it should be your best friend too3 min read·rohitdhiman91.hashnode.dev