PHPackages                             atournayre/claude-agents - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. atournayre/claude-agents

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

atournayre/claude-agents
========================

A comprehensive collection of specialized Claude Code agents for modern PHP development

v1.0.0(11mo ago)12769MITPHPPHP &gt;=8.2

Since Jul 27Pushed 9mo agoCompare

[ Source](https://github.com/atournayre/claude-agents)[ Packagist](https://packagist.org/packages/atournayre/claude-agents)[ RSS](/packages/atournayre-claude-agents/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Claude Agents Collection
========================

[](#claude-agents-collection)

A comprehensive collection of specialized Claude Code agents for modern PHP development, covering architecture patterns, frameworks, testing, and code quality.

🎯 Overview
----------

[](#-overview)

This package provides reusable Claude Code agents that can be used across multiple projects to enforce best practices, automate code analysis, and provide expert guidance for complex development tasks.

📦 Installation
--------------

[](#-installation)

```
composer require --dev atournayre/claude-agents
```

🔧 Available Agents
------------------

[](#-available-agents)

### PHP Development

[](#php-development)

- **`php-standards-enforcer`** - Enforces PHP 8.2+ standards, strict types, and PSR compliance
- **`phpstan-error-resolver`** - Surgical resolution of PHPStan level 9 errors with type annotations
- **`quality-assurance-enforcer`** - Comprehensive QA tools integration (PHPStan, PHP-CS-Fixer, Rector)

### Symfony Framework

[](#symfony-framework)

- **`symfony-6-4-optimizer`** - Symfony 6.4 LTS best practices and performance optimization
- **`symfony-migration-specialist`** - Handles Symfony version migrations and deprecation fixes

### Domain-Driven Design

[](#domain-driven-design)

- **`ddd-architect`** - DDD architecture patterns with RAD (Rapid Application Development)
- **`entity-creator-specialist`** - Creates Doctrine entities following DDD principles
- **`value-object-designer`** - Designs immutable Value Objects with business validation
- **`exception-hierarchy-designer`** - Creates comprehensive domain exception hierarchies

### Messaging &amp; Architecture

[](#messaging--architecture)

- **`message-messagehandler-architect`** - CQRS patterns and Symfony Messenger architecture
- **`dependency-injection-architect`** - Advanced DI patterns with Symfony 6.4
- **`elegant-objects-enforcer`** - Enforces Elegant Object principles in PHP

### Collections &amp; Testing

[](#collections--testing)

- **`collection-specialist`** - Domain-specific collections with business methods
- **`testing-specialist`** - TDD principles with PHPUnit 10 and InMemory objects

### Framework Integration

[](#framework-integration)

- **`atournayre-framework-specialist`** - Expert in atournayre/framework v2 primitives and patterns

🚀 Usage
-------

[](#-usage)

Each agent is a specialized AI assistant that can be invoked using the Claude Code Task tool:

```
Use the [agent-name] agent when [specific context].

Examples:
- "I'm getting PHPStan level 9 errors" → use `phpstan-error-resolver`
- "Need to create a DDD entity" → use `entity-creator-specialist`
- "Optimizing Symfony performance" → use `symfony-6-4-optimizer`
```

📋 Agent Categories
------------------

[](#-agent-categories)

### 🔵 Architecture &amp; Design

[](#-architecture--design)

Focus on software architecture patterns, SOLID principles, and design best practices.

### 🟢 Framework Integration

[](#-framework-integration)

Specialized knowledge for Symfony, Doctrine, and modern PHP frameworks.

### 🟡 Code Quality

[](#-code-quality)

Static analysis, code style, testing, and quality assurance automation.

### 🟣 Domain Modeling

[](#-domain-modeling)

DDD patterns, entity design, value objects, and business logic encapsulation.

### 🟠 Messaging &amp; Architecture

[](#-messaging--architecture)

CQRS patterns, Symfony Messenger, dependency injection, and messaging architecture.

🔄 Integration Workflow
----------------------

[](#-integration-workflow)

1. **Project Setup**: Copy relevant agents to `.claude/agents/` directory
2. **Agent Selection**: Choose appropriate agent based on your task
3. **Task Execution**: Use Claude Code Task tool with selected agent
4. **Quality Validation**: Run project QA tools to validate changes

📖 Agent Structure
-----------------

[](#-agent-structure)

Each agent follows a consistent structure:

```
---
name: agent-name
description: Brief description with usage examples
color: agent-color
---

# Specialized prompt and instructions
```

🎯 Best Practices
----------------

[](#-best-practices)

### When to Use Specific Agents

[](#when-to-use-specific-agents)

- **Complex Type Issues** → `phpstan-error-resolver`
- **New Entity Creation** → `entity-creator-specialist`
- **Performance Optimization** → `symfony-6-4-optimizer`
- **Architecture Refactoring** → `ddd-architect`
- **Test Implementation** → `testing-specialist`

### Agent Combination

[](#agent-combination)

Agents can be used in sequence for complex tasks:

1. `ddd-architect` for design
2. `entity-creator-specialist` for implementation
3. `testing-specialist` for test coverage
4. `quality-assurance-enforcer` for validation

🔧 Customization
---------------

[](#-customization)

### Project-Specific Adaptations

[](#project-specific-adaptations)

For project-specific needs, create custom agents in your project's `.claude/agents/` directory that extend or modify the base agents.

### Configuration

[](#configuration)

Some agents support configuration through project-specific files:

- PHPStan configuration: `phpstan.neon`
- PHP-CS-Fixer: `.php-cs-fixer.php`
- Rector: `rector.php`

📚 Documentation
---------------

[](#-documentation)

### Agent Reference

[](#agent-reference)

Each agent includes:

- **Purpose**: What the agent specializes in
- **Context**: When to use the agent
- **Examples**: Real-world usage scenarios
- **Tools**: Available commands and integrations

### Framework Integration

[](#framework-integration-1)

- **Symfony 6.4 LTS**: Optimized for long-term support version
- **Doctrine ORM**: Entity mapping and repository patterns
- **PHPUnit 10**: Modern testing approaches with InMemory patterns

🤝 Contributing
--------------

[](#-contributing)

### Adding New Agents

[](#adding-new-agents)

1. Create agent in appropriate category directory
2. Follow the established YAML frontmatter format
3. Include comprehensive examples and usage patterns
4. Test with real-world scenarios

### Improving Existing Agents

[](#improving-existing-agents)

1. Analyze agent performance in real projects
2. Gather feedback from development teams
3. Update patterns and best practices
4. Maintain backward compatibility

📄 License
---------

[](#-license)

MIT License - See [LICENSE](LICENSE) file for details.

---

**Built for modern PHP development teams who value code quality, architectural excellence, and development efficiency.**

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance54

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

332d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/be702ea3d10de6d97d83c32866fc9cfe1830a055e7f8b685c8434ccad40416c1?d=identicon)[atournayre](/maintainers/atournayre)

---

Top Contributors

[![atournayre](https://avatars.githubusercontent.com/u/4262077?v=4)](https://github.com/atournayre "atournayre (7 commits)")

---

Tags

phpsymfonyPHPStancode qualityarchitecturedddclaude-codeai-agents

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/atournayre-claude-agents/health.svg)

```
[![Health](https://phpackages.com/badges/atournayre-claude-agents/health.svg)](https://phpackages.com/packages/atournayre-claude-agents)
```

###  Alternatives

[boundwize/structarmed

Configurable PHP architecture guards — define your layers and rules, then keep them enforced

32338.2k7](/packages/boundwize-structarmed)[sci3ma/symfony-grumphp

Configured GrumPHP with bunch of tools for static code analysis Symfony Framework

196.8k](/packages/sci3ma-symfony-grumphp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
