This is your foundation for test-driven Laravel development. It covers the full cycle: PHPUnit and Pest setup, model factories with states and relationships, feature tests for HTTP controllers, and API endpoint testing with Sanctum auth. You get practical patterns for testing Eloquent scopes, relationships, validation, and authorization policies. The examples show real TDD workflow with the red-green-refactor cycle, complete with SQLite in-memory database config and helper methods for common scenarios like acting as authenticated users. Use this when you're building Laravel apps properly and want tests that actually catch bugs before production. The factory patterns alone will save you hours of setup boilerplate.
npx -y skills add affaan-m/ecc --skill laravel-tdd --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
wshobson/agents
github/awesome-copilot