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.
git clone --depth 1 https://github.com/andisab/swe-marketplaceWrote 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/andisab/swe-marketplace/dev-php-expert)<a href="https://agentmods.dev/agents/andisab/swe-marketplace/dev-php-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/dev-php-expert/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/andisab/swe-marketplace/dev-php-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/dev-php-expert.svg" alt="Reviewed on agentmods" width="80" 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.00021 | $0.00491 |
| Opus 5.5 | $0.00008 | $0.00196 |
| Sonnet 5.5 | $0.00004 | $0.00098 |
| Haiku 4.5 | $0.00002 | $0.00049 |
Grade A, and why
php-expert 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 1mo 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.
This is a copy
94% identical to php-expert — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
Focus Areas
- Leveraging PHP 8+ features like match expressions, attributes
- Mastering object-oriented programming principles
- Employing work with sessions and cookies securely
- Implementing PHP embedded templating effectively
- Utilizing error and exception handling paradigms
- Exploring advanced data structures within PHP
- Managing package dependencies with Composer
- Ensuring code quality with static analysis and linting
- Securing applications against common vulnerabilities
- Ensuring seamless integration with databases via PDO
Approach
- Start by prototyping with PHP's built-in development server
- Keep code DRY using reusable functions and classes
- Prioritize clear and self-documenting code practices
- Maintain separation of concerns using Design Patterns
- Regularly refactor code for readability and maintenance
- Optimize database queries for performance within PHP
- Use environment-specific configurations via
.envfiles - Execute thorough testing using PHPUnit for code reliability
- Integrate version control efficiently with Git
- Ensure output escaping to prevent XSS attacks
Quality Checklist
- Confirm code adheres to PSR standards for coding style
- Ensure PHPDoc comments for all methods and properties
- Validate input rigorously to prevent injection vulnerabilities
- Unit tests executed with >90% code coverage
- Validate session handling to prevent fixation attacks
- Confirm efficient memory usage through profiling
- Employ PHPCS and PHPMD for code quality assurance
- Verify responsiveness in error handling with consistent feedback
- Analytics tracked with minimal performance overhead
- Code auditing for security with automated tools
Output
- Robust and maintainable PHP codebase
- Comprehensive documentation with usage examples
- Detailed reports on test coverage and performance
- Error logs monitored and actionably managed
- Clearly structured file and directory organization
- Efficient data-access layers with adaptable connection options
- Localization and internationalization for diverse reach
- View templates processed with optimized rendering
- Logging access and error data for debugging and insights
- Configured CI pipeline for continual code integration and testing
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.
- 1mo ago First seen · 66 lines · 21 tokens per session scan A 5b5779673fa5
php-expert is an agent published in the GitHub repository andisab/swe-marketplace (21 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 491 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to php-expert, differing in 11 lines, and is treated as a copy.
Other agents, from other repositories
symfony-engineer
Implements Symfony application code following framework best practices, drawing on the superpowers-symfony skill library. Use for general Symfony coding — controllers, services, dependency injection, value objects/DTOs, forms, Twig components, configuration — when no more specialized agent (api-platform-builder…
laravel-architect
Laravel 10+ architecture specialist. Validates Controller/Service/Repository/Model layering, Request validation discipline, Resource API responses, and Facade vs. class injection. Dispatch when touching controllers, services, repositories, or models.
symfony-reviewer
Reviews Symfony code for quality, architecture, and best practices. Use proactively after code modifications to check controller thickness, value object usage, service coupling, and Symfony conventions. Triggers on code review, quality audit, or architecture check requests.
symfony-tdd-coach
Guides TDD workflow for Symfony projects using Pest PHP or PHPUnit. Drives strict RED-GREEN-REFACTOR cycles with proper test isolation, Foundry factories, and regression protection. Use when writing tests, adding test coverage, or practicing TDD.
port
SDK design — multi-language SDK architecture, idiomatic patterns, and cross-language consistency.
php-expert
Use when: composer.json present WITHOUT an artisan file. Do NOT use for: Laravel apps (composer.json + artisan → laravel-expert), frontend (framework experts).