By bramato
Scaffold Laravel services with the Service Provider pattern (Model, DTO, Service, Controller, Policy, Migration, Test) and build React frontends with Inertia.js. Includes spec-driven development workflow with human approval gates for complex features.
npx claudepluginhub bramato/laravel-react-plugins --plugin laravel-reactCreate a professional git commit following Conventional Commits, filtering out internal artifacts
Debug Laravel backend or React frontend issues with structured diagnosis across the full stack
Deploy your Laravel + Inertia + React application with pre-flight checks, build steps, and post-deploy verification
Generate a technical design document from approved requirements — architecture, API, database, components, security, and test strategy
Execute implementation tasks from the task list with mandatory context gathering and design compliance
Create a RESTful API endpoint with controller action, route, request validation, and resource transformation
Create a React component — Inertia page, layout, UI component, or custom hook — with TypeScript and tests
Create a database migration with proper column types, indexes, foreign keys, and rollback support
Break down an approved technical design into a hierarchical, executable task list with requirement traceability
Review code for Service Provider pattern compliance, security, performance, and best practices across Laravel and React
Scaffold a complete Laravel service with the Service Provider pattern — Model, DTO, Service, Controller, Requests, Policy, Migration, Factory, Seeder, Inertia pages, and tests
Generate realistic seed data with factories, seeders, and proper relationship wiring
Generate a requirements specification with user stories and EARS acceptance criteria for a new feature
Generate TypeScript interfaces from Laravel controller props, Models, and FormRequests for Inertia pages
Generate or run tests for Laravel (Pest/PHPUnit) and React (Jest/Vitest) with best-practice patterns
Design RESTful APIs with Laravel following best practices for resource naming, HTTP methods, status codes, pagination, filtering, error responses, and versioning. Use when creating API endpoints, designing response formats, implementing pagination or filtering, handling API errors, or versioning your API. Also covers Inertia route conventions for monolith apps. Triggers on API endpoint, REST, route design, pagination, filtering, error response, or CORS.
Implement authentication with Laravel Sanctum and authorization with Policies and Gates. Use when setting up login/registration, implementing API token auth, SPA cookie auth, creating policies, defining gates, or building role-based access control. Triggers on authentication, authorization, login, Sanctum, policy, gate, RBAC, permission, or middleware.
Design database schemas with Laravel migrations, Eloquent relationships, and indexing strategies. Use when creating migrations, designing table schemas, defining relationships between models, optimizing queries with indexes, or planning database architecture. Triggers on migration, database schema, table design, foreign key, index, relationship, Eloquent, or query optimization.
Use when setting up deployment pipelines, Docker environments, CI/CD, or server configuration for Laravel + React applications. Covers Docker Compose, GitHub Actions, Laravel Forge, Laravel Vapor, zero-downtime deployments, and monitoring.
Use when implementing error handling, exception management, error boundaries, or structured error responses across Laravel and React. Covers custom exceptions, API error formats, React Error Boundaries, form validation errors, and logging strategies.
Use when optimizing application performance across Laravel and React. Covers query optimization, caching strategies, eager loading, React rendering optimization, bundle size reduction, and Inertia-specific performance patterns.
Build React frontends with Inertia.js, TypeScript, and modern component patterns. Use when creating React components, Inertia pages, layouts, hooks, context providers, or integrating with a Laravel backend. Covers Inertia.js page components, usePage, useForm, persistent layouts, data fetching, state management, and routing. Triggers on React component, Inertia page, TypeScript types, form handling, layout, or frontend architecture.
Structure Laravel applications using the Service Provider pattern with Model, DTO, Service, Controller, FormRequest, Resource, Policy, Event, and Test artifacts. Use when scaffolding a new service, creating a Model with business logic, designing DTOs, structuring service classes, registering providers, or organizing Laravel code by domain. Triggers on service provider, model creation, DTO, service class, controller pattern, form request, or resource controller.
Guide feature development through a structured four-phase workflow: Requirements (EARS syntax), Technical Design, Task Planning, and Implementation. Use when starting a new feature, planning a complex change, converting a feature request into actionable specs, or ensuring traceability from requirements through code. Triggers on spec, requirements, design document, task breakdown, implementation plan, or feature planning.
Write tests for Laravel (Pest/PHPUnit) and React (Jest/Vitest + React Testing Library). Use when writing unit tests, feature tests, component tests, or integration tests. Covers test structure, assertions, mocking, factories, database testing, and test organization for the Service Provider pattern. Triggers on test, testing, Pest, PHPUnit, Jest, React Testing Library, TDD, or test coverage.
Plugins that turn Claude into a Laravel full-stack development partner. Built for Cowork, also compatible with Claude Code.
| Plugin | Description |
|---|---|
| laravel-react | Build full-stack Laravel + React applications with the Service Provider pattern and Inertia.js. Includes 15 commands and 10 skills covering scaffolding, spec-driven development, testing, debugging, code review, and deployment. |
Install plugins from claude.com/plugins.
# Add the marketplace
claude plugin marketplace add <your-org>/laravel-plugins
# Install the plugin
claude plugin install laravel-react@laravel-plugins
The laravel-react plugin provides:
15 Commands covering three areas:
| Area | Commands |
|---|---|
| Spec-Driven Workflow | /spec, /design, /plan-tasks, /implement, /commit |
| Scaffolding | /scaffold-service, /make-api, /make-component, /make-migration, /sync-types, /seed-data |
| Quality & Operations | /test, /debug, /review, /deploy |
10 Skills with deep reference material:
| Skill | What it covers |
|---|---|
spec-driven-development | Kiro workflow, EARS syntax, approval gates, spec templates |
service-provider-architecture | Model, DTO, Service, Controller, Policy patterns |
react-patterns | Inertia.js pages, component architecture, hooks, state |
api-design | RESTful conventions, pagination, filtering, Sanctum auth |
database-design | Migrations, Eloquent relationships, indexing, transactions |
auth-and-authorization | Sanctum, Policies, Gates, RBAC |
testing-strategies | Pest/PHPUnit + Vitest/RTL testing pyramid |
error-handling | Exceptions, Error Boundaries, logging |
performance-optimization | Query optimization, caching, React.memo, code splitting |
deployment-and-devops | Docker, CI/CD, Forge, Vapor, zero-downtime deploys |
See the full laravel-react README for detailed documentation.
Every plugin follows the same structure:
plugin-name/
├── .claude-plugin/plugin.json # Manifest
├── .mcp.json # Tool connections
├── CONNECTORS.md # Tool placeholder reference
├── commands/ # Slash commands you invoke explicitly
└── skills/ # Domain knowledge Claude draws on automatically
/laravel-react:scaffold-service).Everything is file-based — markdown and JSON, no code, no infrastructure, no build steps.
To add a new plugin for a different Laravel stack (e.g., laravel-vue, laravel-livewire):
.claude-plugin/marketplace.jsonPlugins are just markdown files. Fork the repo, make your changes, and submit a PR.
Claude skill for building React applications with Vite and following modern frontend best practices. Optimizes build performance and development experience.
External network access
Connects to servers outside your machine
Share bugs, ideas, or general feedback.
Laravel development toolkit MCP server. Provides intelligent assistance for Laravel applications including Artisan commands, Eloquent queries, routing, migrations, and framework-specific code generation.
Laravel-focused skills for Claude Code: TDD (Pest/PHPUnit), migrations, queues, quality checks (Pint/Insights), and pragmatic architecture patterns — Sail and non-Sail compatible.
Specialized Claude Code subagents and skills for Laravel development — architecture, Eloquent, API, testing, security, performance, debugging, and more.
Production-grade rules and workflows for Laravel REST APIs built with essa/api-tool-kit. 21 rule files and 8 guided workflows covering every layer of a Laravel API including DDD support.
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.