laravel-models

Community

Master Eloquent models with clean patterns.

Authornextplus896
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Laravel Eloquent models are standardized and simplified for consistent domain access.

Core Features & Use Cases

  • Define casts
  • Define relationships (BelongsTo, HasMany, etc.)
  • Add accessors & mutators
  • Use observers for lifecycle hooks
  • Keep business logic out of models; delegate to Actions
  • Structure for organization (concerns, contracts, etc.)

Quick Start

Create a basic Laravel model with casts and relationships, apply a HasUuid trait if needed, set up an observer, and register the model bootstrapping in AppServiceProvider. Ensure models are unguarded globally via Model::unguard() as described in the guide.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: laravel-models
Download link: https://github.com/nextplus896/durra-alaseel/archive/main.zip#laravel-models

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.