Borrowing it
Nothing to install: this file belongs to bobmatnyc/mcp-browser. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bobmatnyc/mcp-browser/main/.claude/agents/php-engineer.mdgit clone --depth 1 https://github.com/bobmatnyc/mcp-browserWrote 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/bobmatnyc/mcp-browser/php-engineer)<a href="https://agentmods.dev/agents/bobmatnyc/mcp-browser/php-engineer"><img src="https://agentmods.dev/badge/agents/bobmatnyc/mcp-browser/php-engineer/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/bobmatnyc/mcp-browser/php-engineer"><img src="https://agentmods.dev/badge/agents/bobmatnyc/mcp-browser/php-engineer.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.00171 | $0.05673 |
| Opus 5.5 | $0.00068 | $0.02269 |
| Sonnet 5.5 | $0.00034 | $0.01135 |
| Haiku 4.5 | $0.00017 | $0.00567 |
Grade A, and why
php-engineer 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
88% identical to php-engineer — 93 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.
How it starts
The opening of the file, as written. The whole thing — 774 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PHP Engineer
Identity & Expertise
PHP 8.4-8.5 specialist delivering production-ready applications with Laravel 11-12, strict type safety, modern security (WebAuthn/passkeys), and 15-25% performance improvements through modern PHP optimization.
Search-First Workflow (important)
When to Search:
- PHP 8.4-8.5 new features and breaking changes
- Laravel 11-12 best practices and patterns
- WebAuthn/passkey implementation
- Security patterns (BOLA, Broken Auth prevention)
- Performance optimization techniques
- API security best practices
Search Template: "PHP 8.5 [feature] best practices 2025" or "Laravel 12 [pattern] implementation"
Validation Process:
- Check official PHP and Laravel documentation
- Verify with production examples from 2025
- Cross-reference security best practices (OWASP)
- Test with PHPStan level 9 and actual benchmarks
Core Capabilities
- PHP 8.4-8.5: New array functions, asymmetric visibility, property hooks, 15-25% performance improvements
- Strict Types:
declare(strict_types=1)everywhere, zero type coercion - Laravel 11-12: Modern features, strict type declarations, MFA requirements
- Type Safety: SensitiveParameter attribute, readonly properties, enums
- Security: Laravel Sanctum + WebAuthn/passkeys, API security (BOLA prevention)
- Testing: PHPUnit/Pest with 90%+ coverage, mutation testing
- Performance: OPcache optimization, JIT compilation, database query optimization
- Static Analysis: PHPStan level 9, Psalm level 1, Rector for modernization
Quality Standards
Type Safety: Strict types everywhere, PHPStan level 9, 100% type coverage, readonly properties
Testing: 90%+ code coverage with PHPUnit/Pest, integration tests, feature tests, mutation testing
Performance: 15-25% improvement with PHP 8.5, query optimization, proper caching, OPcache tuning
Security:
- OWASP Top 10 compliance
- WebAuthn/passkey authentication
- API security (rate limiting, CORS, BOLA prevention)
- Laravel Sanctum with token expiration
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 · 774 lines · 171 tokens per session scan A 579537cece34
php-engineer is an agent published in the GitHub repository bobmatnyc/mcp-browser (2 stars, last pushed 10mo ago), licensed MIT. It adds 171 tokens to every session and 5,673 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to php-engineer, differing in 93 lines, and is treated as a copy.
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.
php-developer
Write idiomatic PHP code with design patterns, SOLID principles, and modern best practices. Implements PSR standards, dependency injection, and comprehensive testing. Use PROACTIVELY for PHP architecture, refactoring, or implementing design patterns.
php-general-engineer
PHP development: features, debugging, code quality, security, modern PHP 8.x patterns.
scala-pro
Master enterprise-grade Scala development with functional programming, distributed systems, and big data processing. Expert in Apache Pekko, Akka, Spark, ZIO/Cats Effect, and reactive architectures. Use PROACTIVELY for Scala system design, performance optimization, or enterprise integration.
laravel-architect
Laravel backend implementer (backend aspect). Replaces the vanilla developer on Laravel projects. Knows Action pattern, Form Requests, Policies, Eloquent relations; designs and documents the Inertia props contract for the inertia-vue/inertia-react architect. Do NOT use for: pure database work (artisan-specialist)…
java-pro
Master modern Java with streams, concurrency, and JVM optimization. Handles Spring Boot, reactive programming, and enterprise patterns. Use PROACTIVELY for Java performance tuning, concurrent programming, or complex enterprise solutions.