Laravel API

Scaffolds Laravel REST APIs with invokable controllers, FormRequest DTOs, Action classes, and ULIDs.

Tested · Works

Test report

Verdict
Tested · Works
Score
9.2/10
Tested
Jul 15, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Aug 10, 2026 · 36ef48b

Built a Book resource end-to-end from the skill body (ULID model, StoreBookPayload DTO, FormRequest->payload(), CreateBook Action, invokable V1\StoreController, Responsable JsonDataResponse) and lint-checked all 6 files with `php -l`; a naive baseline was a single 2-file controller+model with inline validate() and response()->json() -- the skill genuinely enforces the layered architecture it advertises, at the cost of ~3x more files per endpoint.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 8/10
  • Docs & honesty 5/5

What Laravel API does

Guides Claude through building or reviewing Laravel REST APIs using an opinionated stateless architecture: versioned invokable controllers, FormRequest-to-DTO payloads, single-purpose Action classes, ULID models, and Problem+JSON error responses. Triggers on requests to build, scaffold, or review a Laravel API, add JWT auth, or refactor Laravel API code for code quality.

How to install Laravel API

git clone https://github.com/JustSteveKing/laravel-api-skill
cd laravel-api-skill
mkdir -p ~/.claude/skills
cp -r laravel-api ~/.claude/skills/laravel-api

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Laravel API

  • /laravel-api Scaffolds Laravel REST APIs with invokable controllers, FormRequest DTOs, Action classes, and ULIDs.

It also activates on plain-language prompts like these:

  • Build a Laravel API endpoint to create a Book resource with validation
  • Scaffold a REST API in Laravel with proper DTOs and action classes
  • Add JWT auth to my Laravel API following clean layered architecture

Frequently asked questions

Is the Laravel API skill free?
Yes. The skill itself is free from JustSteveKing/laravel-api-skill. SkillProof publishes the install command and an independent test verdict at no cost.
Does Laravel API work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 15, 2026. Verdict: Tested · Works. Built a Book resource end-to-end from the skill body (ULID model, StoreBookPayload DTO, FormRequest->payload(), CreateBook Action, invokable V1\StoreController, Responsable JsonDataResponse) and lint-checked all 6 files with `php -l`; a naive baseline was a single 2-file controller+model with inline validate() and response()->json() -- the skill genuinely enforces the layered architecture it advertises, at the cost of ~3x more files per endpoint.
What is the Laravel API SkillProof Score?
9.2/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 8/10, docs & honesty 5/5.
How do I install Laravel API?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Laravel API with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.