Commands

42 commands for Laravel development with Claude Code

/laravel-agent:build Core

Intelligent build - architect analyzes and decides implementation approach

/laravel-agent:patterns Core

View current pattern usage (max 5 patterns per project)

/laravel-agent:feature:make Builder

Create complete feature (CRUD, views, API, tests)

/laravel-agent:module:make Builder

Create reusable domain module with contracts, services, DTOs

/laravel-agent:service:make Builder

Create a service class or action with proper patterns

/laravel-agent:api:make API

Create a versioned API resource with documentation

/laravel-agent:api:docs API

Generate OpenAPI/Swagger API documentation

/laravel-agent:test:make Testing

Generate comprehensive Pest tests for a class or feature

/laravel-agent:test:coverage Testing

Run tests with coverage report and analysis

/laravel-agent:db:optimize Database

Analyze and optimize database queries and schema

/laravel-agent:db:diagram Database

Generate database schema ER diagram

/laravel-agent:livewire:make Frontend

Create Livewire component with form, table, or modal

/laravel-agent:filament:make Frontend

Create Filament resource, page, or widget

/laravel-agent:auth:setup Security

Setup authentication and authorization

/laravel-agent:security:audit Security

Run OWASP security audit

/laravel-agent:job:make DevOps

Create queued job, event, listener, or notification

/laravel-agent:broadcast:make DevOps

Create broadcast event with channel configuration

/laravel-agent:deploy:setup DevOps

Configure deployment (Forge, Vapor, Docker)

/laravel-agent:cicd:setup DevOps

Configure CI/CD pipeline

/laravel-agent:reverb:setup DevOps

Setup Laravel Reverb WebSocket server

/laravel-agent:feature-flag:make DevOps

Create feature flag with Laravel Pennant

/laravel-agent:backup:setup DevOps

Configure automated backups

/laravel-agent:health:setup DevOps

Setup health monitoring

/laravel-agent:notification:make DevOps

Create multi-channel notification (55+ channels)

/laravel-agent:ai:make AI

Create AI-powered feature using Prism PHP

/laravel-agent:bug:fix AI

AI-powered bug analysis and fix suggestions

/laravel-agent:docs:generate AI

AI-powered documentation generation

/laravel-agent:pdf:make AI

Generate PDF templates (invoices, reports)

/laravel-agent:seo:setup Data

Setup SEO infrastructure

/laravel-agent:geo:make Data

Create geolocation features

/laravel-agent:search:setup Data

Configure Scout + Meilisearch/Algolia

/laravel-agent:dto:make Data

Create Data Transfer Objects

/laravel-agent:webhook:make Data

Create webhook handlers

/laravel-agent:import:make Data

Create CSV/Excel importers

/laravel-agent:migrate:from-legacy Data

Migrate from legacy systems

/laravel-agent:review:staged Review

Review staged changes before commit

/laravel-agent:review:pr Review

Review pull request

/laravel-agent:review:audit Review

Full codebase audit

/laravel-agent:refactor Review

Refactor for SOLID/DRY compliance

/laravel-agent:git:commit Review

Smart commit with security review

/laravel-agent:git:pr Review

Create pull request

/laravel-agent:git:release Review

Create release with changelog