laravel-model

Community

Create Laravel models with relations and casts.

AuthorAdemKao
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Laravel projects often require boilerplate models with consistent relationships, casts, and factories, leading to repetitive boilerplate and potential inconsistencies.

Core Features & Use Cases

  • Define Eloquent relationships (hasMany, belongsTo, belongsToMany, etc.) and ensure proper typing.
  • Configure attribute casts, fillable properties, and default values for predictable behavior.
  • Generate a ready-to-use factory, and provide a clean template for migrations and queries across entities.

Quick Start

Create a new Laravel model for a given entity, including relationships, casts, and a basic factory.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-model
Download link: https://github.com/AdemKao/ai-cowork/archive/main.zip#laravel-model

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.