0027-laravel-controller-tests

Community

Write fast, focused Laravel controller tests

AuthorMrJmpl3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you verify Laravel controller behavior reliably without turning tests into slow, brittle duplicates of the application logic.

Core Features & Use Cases

  • HTTP-focused assertions: Validate endpoint responses such as validation errors using Laravel HTTP test helpers.
  • Separation of concerns: Keep heavy logic in Actions/Services and unit test those components directly.
  • Maintainable test strategy: Prefer Form Requests for validation rules and assert errors coming from the request layer, using factories for realistic data.

Quick Start

Ask the AI to propose a set of Laravel controller (feature) tests that assert validation errors via Form Requests and keep business rules tested in Actions or Services.

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: 0027-laravel-controller-tests
Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0027-laravel-controller-tests

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 471,000+ vetted skills library on demand.