v1.1.0
Claude Code Plugin
Laravel Agent
AI-powered Laravel development assistant. Architecture decisions, code generation, testing, deployment, and more.
Quick Install
# Add the marketplace
/plugin marketplace add hadyfayed/laravel-agent
# Install the plugin
/plugin install laravel-agent@hadyfayed-laravel-agent
Installation
Requirements
- Claude Code with Plugin support
- Laravel 10+ project
- PHP 8.1 or higher
Verify Installation
After installation, verify by running:
/laravel-agent:patterns
Quick Start
1
Intelligent Build (Recommended)
Let the architect analyze and decide the best approach:
/laravel-agent:build invoice management system with PDF export2
Create Features Directly
Build complete features with CRUD, views, API, and tests:
/laravel-agent:feature:make Products with categories3
Generate Tests
Create comprehensive Pest tests for any class:
/laravel-agent:test:make App/Services/PaymentServiceCommands
42Auto-Invoked Skills
12Skills activate automatically based on conversation context.
Specialized Agents
23| Agent | Purpose |
|---|---|
| laravel-architect | Analyzes requests, decides approach, delegates to builders |
| laravel-feature-builder | Builds complete features with CRUD, views, API, tests |
| laravel-testing | Pest tests - unit, feature, API, browser |
| laravel-security | OWASP audits, security headers, vulnerability fixes |
Quality Hooks
7pre-commit.sh
PHP syntax, Pint, PHPStan, security scan, Blade validation
security-scan.sh
Detect secrets, API keys, passwords, debug functions
Package Integrations
85+Agents detect installed packages and adapt output automatically.
Admin & UI
- filament/filament
- livewire/livewire
- inertiajs/inertia-laravel
Testing
- pestphp/pest
- laravel/dusk
- mockery/mockery
API & Auth
- laravel/sanctum
- spatie/laravel-permission
- nuwave/lighthouse
Performance
- laravel/octane
- laravel/horizon
- laravel/pulse