Tag
Eloquent
Every article on Eloquent, newest first.
- 12Articles
- 103 minOf reading
- 3Subjects
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.
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.
API-First Laravel Projects
Beginner-friendly, API-first Laravel path: 10 progressive projects covering resources, auth, search, multi-tenancy, webhooks, rate limits, and GraphQL.
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.
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.
Writing to the Database with Eloquent
Learn methods of writing to the database using Laravel's Eloquent ORM for effective database interactions.
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.
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.
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.
Eloquent Attribute Casting
Learn Eloquent Castable attributes in Laravel with practical examples for enhanced applications.
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.
Querying Records in our Domain
Learn how to leverage Laravel DDD for efficient record queries. Simplify read actions in your application.