Skip to main content
WritingVideosSpeakingCodeAbout

Tag

Eloquent

Every article on Eloquent, newest first.

  • 12Articles
  • 103 minOf reading
  • 3Subjects
Aug 20264 min read
Architecture

Every Feature Touches Ten Files

Ten files open for a one line change is either layering working correctly or one idea smeared across a codebase. The count does not tell you which, and git history does.

Aug 20268 min read
Architecture

Nobody Wants To Touch That Model

Every Laravel codebase has a model people route around. Counting its lines is the least useful thing you can do to it, and extracting traits is how the count gets hidden rather than fixed.

Nov 202531 min read
API Design

API-First Laravel Projects

Beginner-friendly, API-first Laravel path: 10 progressive projects covering resources, auth, search, multi-tenancy, webhooks, rate limits, and GraphQL.

Oct 202510 min read
API Design

Building APIs that scale with Nitro, Drizzle, and unstorage

Discover how Nitro, Drizzle ORM, and unstorage create a modern TypeScript API stack that's faster to build, easier to scale, and ready for edge deployments.

Dec 20229 min read
PHP & Laravel

Effective Eloquent

Explore advanced Eloquent querying in Laravel with a focus on efficient ORM usage for a banking app, including user accounts and transactions management.

Sept 202210 min read
PHP & Laravel

Writing to the Database with Eloquent

Learn methods of writing to the database using Laravel's Eloquent ORM for effective database interactions.

Sept 20226 min read
Architecture

Setting up your Data Model in Laravel

Master the art of Laravel data modeling and build a meeting room booking system with this comprehensive tutorial.

Aug 20225 min read
PHP & Laravel

Working with Laravel Model Events

Learn how to work with Laravel Model Events and explore different approaches to handle them efficiently. Discover pros and cons of each method.

Jul 20226 min read
PHP & Laravel

Using Laravel Model Factories in your tests

Master the use of Laravel Model Factories for predictable test data. Learn how to define and modify states for various scenarios in your app.

Jun 20227 min read
PHP & Laravel

Eloquent Attribute Casting

Learn Eloquent Castable attributes in Laravel with practical examples for enhanced applications.

May 20223 min read
PHP & Laravel

Tappable Query Scopes in Laravel

Enhance Laravel Query Scopes with Tappable Query Scopes - Learn about tappable query scopes in Laravel, a clean way to apply multiple scopes.

May 20224 min read
Architecture

Querying Records in our Domain

Learn how to leverage Laravel DDD for efficient record queries. Simplify read actions in your application.