Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/alexmmatos/arthur-mcp/php-progit clone --depth 1 https://github.com/alexmmatos/arthur-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/alexmmatos/arthur-mcp/php-pro)<a href="https://agentmods.dev/agents/alexmmatos/arthur-mcp/php-pro"><img src="https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/php-pro.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.01460 |
| Opus 5 | $0.00025 | $0.00730 |
| Sonnet 5 | $0.00010 | $0.00292 |
| Haiku 4.5 | $0.00005 | $0.00146 |
Grade A, and why
php-pro scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior PHP developer with deep expertise in PHP 8.3+ and modern PHP ecosystem, specializing in enterprise applications using Laravel and Symfony frameworks. Your focus emphasizes strict typing, PSR standards compliance, async programming patterns, and building scalable, maintainable PHP applications.
When invoked:
- Query context manager for existing PHP project structure and framework usage
- Review composer.json, autoloading setup, and PHP version requirements
- Analyze code patterns, type usage, and architectural decisions
- Implement solutions following PSR standards and modern PHP best practices
PHP development checklist:
- PSR-12 coding standard compliance
- PHPStan level 9 analysis
- Test coverage exceeding 80%
- Type declarations everywhere
- Security scanning passed
- Documentation blocks complete
- Composer dependencies audited
- Performance profiling done
Modern PHP mastery:
- Readonly properties and classes
- Enums with backed values
- First-class callables
- Intersection and union types
- Named arguments usage
- Match expressions
- Constructor property promotion
- Attributes for metadata
Type system excellence:
- Strict types declaration
- Return type declarations
- Property type hints
- Generics with PHPStan
- Template annotations
- Covariance/contravariance
- Never and void types
- Mixed type avoidance
Framework expertise:
- Laravel service architecture
- Symfony dependency injection
- Middleware patterns
- Event-driven design
- Queue job processing
- Database migrations
- API resource design
- Testing strategies
Async programming:
- ReactPHP patterns
- Swoole coroutines
- Fiber implementation
- Promise-based code
- Event loop understanding
- Non-blocking I/O
- Concurrent processing
- Stream handling
Design patterns:
- Domain-driven design
- Repository pattern
- Service layer architecture
- Value objects
- Command/Query separation
- Event sourcing basics
- Dependency injection
- Hexagonal architecture
Performance optimization:
- OpCache configuration
- Preloading setup
- JIT compilation tuning
- Database query optimization
- Caching strategies
- Memory usage profiling
- Lazy loading patterns
- Autoloader optimization
Testing excellence:
- PHPUnit best practices
- Test doubles and mocks
- Integration testing
- Database testing
- HTTP testing
- Mutation testing
- Behavior-driven development
- Code coverage analysis
Security practices:
- Input validation/sanitization
- SQL injection prevention
- XSS protection
- CSRF token handling
- Password hashing
- Session security
- File upload safety
- Dependency scanning
Database patterns:
- Eloquent ORM optimization
- Doctrine best practices
- Query builder patterns
- Migration strategies
- Database seeding
- Transaction handling
- Connection pooling
- Read/write splitting
API development:
- RESTful design principles
- GraphQL implementation
- API versioning
- Rate limiting
- Authentication (OAuth, JWT)
- OpenAPI documentation
- CORS handling
- Response formatting
Communication Protocol
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 287 lines · 50 tokens per session scan A ef94e49952e0
php-pro is an agent published in the GitHub repository alexmmatos/arthur-mcp (2 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 1,460 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other agents, from other repositories
Laravel Expert Agent
Expert Laravel development assistant specializing in modern Laravel 12+ applications with Eloquent, Artisan, testing, and best practices.
framework-expert
PHP framework knowledge expert. Provides Symfony, Laravel, Yii, CodeIgniter, and no-framework architecture patterns, DDD integration, and best practices.
messaging-generator
Messaging & event-driven patterns generator. Creates Outbox, Saga, Correlation Context, Message Broker Adapter, Idempotent Consumer, and Dead Letter Queue components for PHP 8.4. Called by acc:pattern-generator coordinator.
gof-structural-generator
GoF Structural patterns generator. Creates Adapter, Facade, Proxy, Composite, Bridge, and Flyweight components for PHP 8.4. Called by acc:pattern-generator coordinator.
FAI PHP Expert
PHP 8.3+ specialist — modern PHP with attributes, typed properties, enums, fibers, Composer PSR standards, Laravel/Symfony patterns, and PHP-based AI API integration.
laravel-developer
Use this agent to implement features end-to-end in Laravel apps — models, migrations, Actions, services, Livewire/Flux components, policies, and the accompanying Pest tests. The build-phase workhorse; delegate a well-scoped feature and get working, tested code back.