What problem does it solve? Working with Laravel 13's Eloquent ORM requires knowing the new PHP 8.3 attribute-based metadata syntax (#[Table], #[Fillable], #[Casts]) while avoiding legacy property conflicts, N+1 query problems, and lifecycle pitfalls like instantiating models in boot(). This Skill provides the complete attribute-first reference and templates so models, relationships, and queries are written correctly the first time. ## Core Features & Use Cases - Attribute-first model authoring: Covers #[Table], #[Fillable], #[Hidden], #[Casts], #[Appends], #[Touches], #[Connection], and #[Scope] with a full legacy-property migration mapping from Laravel 12. - Complete relationship and query coverage: Documents basic, many-to-many, advanced (hasOneThrough, ofMany), and polymorphic relationships plus eager loading, scopes, aggregates, pagination, and batch operations. - Lifecycle and output tooling: Includes observers/events, soft deletes, factories, API resources, transactions, serialization, and query debugging/performance guidance with ready-to-use PHP templates. - Use Case: When adding a new Post model with comments, tags, and published scopes, the Skill supplies the attribute-based model template, the morphToMany/belongsToMany relationship patterns, and eager-loading examples that prevent N+1 queries. ## Quick Start Ask the agent to create a Laravel 13 Eloquent model with attributes, relationships, and a factory for your chosen entity.