leeovery / claude-laravel
Laravel architecture skills and commands for Claude Code
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 0
Open Issues: 0
Type:claude-plugin
pkg:composer/leeovery/claude-laravel
Requires
- php: ^8.2
- leeovery/claude-manager: ^1.0
README
Opinionated Laravel Skills & Commands for Claude Code
Installation • Skills • Commands • How It Works • Contributing
About
This is a curated collection of Laravel development patterns and practices I've refined over 20 years in the industry and 10+ years working with Laravel.
These are opinionated. They represent how I build Laravel applications—action-oriented architecture, strict typing, DTOs everywhere, and a relentless focus on maintainability. They won't be for everyone, and that's okay.
This is a work in progress. As I use these skills in real projects, I'm continuously refining them to better represent how I actually work. Expect updates as patterns evolve and edge cases reveal themselves.
Installation
composer require --dev leeovery/claude-laravel
That's it. The Claude Manager handles everything else automatically.
How It Works
This package depends on leeovery/claude-manager, which:
- Symlinks skills into your project's
.claude/skills/directory - Symlinks commands into your project's
.claude/commands/directory - Manages your
.gitignorewith a deterministic list of linked skills and commands - Handles installation/removal automatically via Composer hooks
You don't need to configure anything—just install and start coding.
Skills
Each skill provides focused guidance on a specific aspect of Laravel development.
Foundation
| Skill | Description |
|---|---|
| laravel-architecture | High-level architecture decisions, patterns, and project structure |
| laravel-quality | Code quality with PHPStan, Pint, and strict types |
Core Patterns
| Skill | Description |
|---|---|
| laravel-actions | Action-oriented architecture—domain logic in invokable classes |
| laravel-dtos | Data Transfer Objects with Spatie Laravel Data |
| laravel-enums | Backed enums with labels and business logic |
| laravel-value-objects | Immutable value objects for domain values |
| laravel-state-machines | Complex state management with Spatie Model States |
HTTP Layer
| Skill | Description |
|---|---|
| laravel-controllers | Thin HTTP layer—zero domain logic in controllers |
| laravel-validation | Form requests and validation testing |
| laravel-routing | Route model binding and authorization |
Data Layer
| Skill | Description |
|---|---|
| laravel-models | Eloquent models and relationships |
| laravel-query-builders | Type-safe custom query builders |
Infrastructure
| Skill | Description |
|---|---|
| laravel-providers | Service providers and bootstrapping |
| laravel-jobs | Background processing with jobs and listeners |
| laravel-policies | Authorization policies |
| laravel-services | External API integration with Saloon |
| laravel-exceptions | Custom exceptions and error handling |
Enterprise
| Skill | Description |
|---|---|
| laravel-multi-tenancy | Multi-tenant application patterns |
| laravel-packages | Package extraction and development |
Testing
| Skill | Description |
|---|---|
| laravel-testing | Comprehensive testing patterns with Pest |
Commands
Slash commands for common Laravel development tasks.
Coming soon.
Requirements
- PHP ^8.2
- leeovery/claude-manager ^1.0 (installed automatically)
Contributing
Contributions are welcome! Whether it's:
- Bug fixes in the documentation
- Improvements to existing patterns
- Discussion about approaches and trade-offs
- New skills for patterns not yet covered
Please open an issue first to discuss significant changes. These are opinionated patterns, so let's talk through the approach before diving into code.
Related Packages
- claude-manager — The plugin manager that powers skill installation
- claude-technical-workflows — Technical workflow skills for Claude Code
License
MIT License. See LICENSE for details.
Built with care by Lee Overy