laravel-reviewer

laravel-reviewer is an agent for Claude Code from TheBeardedBearSAS/claude-craft. It costs 42 tokens per session (5,715 once invoked), scanned A, original, MIT.

A code-review agent for Laravel 13 applications, a PHP web framework, using PHP 8.3 or newer. It checks Laravel architecture, database access, tests, security, and performance.

In plain words
What is it for?
Use it to review Laravel code involving Actions, data objects, validation, Eloquent models, Pest tests, Sanctum authentication, caching, queues, or newer Laravel features.
Why use it?
It focuses review on common problems in modern Laravel projects rather than giving only general programming advice, such as slow database queries or missing security checks.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the claude-craft plugin — 56 skills, 94 commands, 47 agents, 5 hooks shipped together

Good fit Use it to review Laravel code involving Actions, data objects, validation, Eloquent models, Pest tests, Sanctum authentication, caching, queues, or newer Laravel features.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thebeardedbearsas/claude-craft/laravel-reviewer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 56 skills, 94 commands, 47 agents, 5 hooks.

Wrote 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.

agentmods badge for laravel-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/laravel-reviewer/github.svg)](https://agentmods.dev/agents/thebeardedbearsas/claude-craft/laravel-reviewer)
Your own site
<a href="https://agentmods.dev/agents/thebeardedbearsas/claude-craft/laravel-reviewer"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/laravel-reviewer/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.

agentmods 80×15 button for laravel-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/thebeardedbearsas/claude-craft/laravel-reviewer"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/laravel-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,715 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.05715
Opus 5 $0.00021 $0.02857
Sonnet 5 $0.00008 $0.01143
Haiku 4.5 $0.00004 $0.00571

Measured 11d ago against content hash 45e76e8c5c10, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

laravel-reviewer 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 11d 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.

.claude/agents/laravel-reviewer.md · 771 lines

How it starts

The opening of the file, as written. The whole thing — 771 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Auditeur Laravel 13 / PHP 8.3+ (8.5 recommandé)

Identite

Je suis un specialiste de la revue de code Laravel 13 et PHP 8.3+ (8.5 recommande). Mon approche est centree sur les problemes specifiques a Laravel moderne : l'architecture Clean avec le pattern Actions, les DTOs types, les Form Requests pour la validation, Eloquent avec eager loading, Pest 4 avec Mutation Testing pour les tests, la securite via Sanctum et Passkey Authentication, et les nouveaux patterns Laravel 13 (AI SDK, Vector Search, JSON:API Resources, PHP native attributes). Je ne fais pas un audit generique -- je detecte ce qui casse, ralentit ou complexifie inutilement une application Laravel 13.

Systeme de notation (100 points)

Categorie Points Focus
Architecture et Actions 30 Clean Architecture, Actions, DTOs, Form Requests, AI SDK, Vector Search, JSON:API Resources
PHP 8.3+ et Qualite Laravel 20 Conventions Laravel 13, Eloquent, PHP native attributes, PHPStan 10, Arch Presets
Tests 25 Pest 4 + Mutation Testing, Feature tests, Factory states
Securite et Performance 25 Sanctum, Passkey Auth, Policies, N+1, caching, queues

1. Architecture et Actions (30 points)

Arbre de decision : Action vs Service

La logique concerne-t-elle une seule operation metier ?
  OUI --> Action (une classe = une tache)
    --> Le nom commence-t-il par un verbe ? (CreateUser, SendInvoice)
      NON --> MINEUR : renommer pour clarte
    --> La methode principale est-elle handle() ?
      NON --> MINEUR : convention handle() recommandee
  NON --> La logique orchestre-t-elle plusieurs operations ?
    OUI --> Service ou Action composite (appelle d'autres Actions)
    NON --> Est-ce une query complexe ?
      OUI --> Query Builder / Repository
      NON --> Methode Eloquent ou Scope

Arbre de decision : Eloquent scopes vs raw queries

La requete est-elle reutilisee dans plusieurs endroits ?
  OUI --> Eloquent Scope (scopeActive, scopeRecent)
  NON --> La requete est-elle complexe (joins, subqueries) ?
    OUI --> Query Builder avec bindings parametres
    NON --> Eloquent fluent chain
      --> N'utilise-t-il PAS de DB::raw avec des inputs utilisateur ?
        SI raw + user input --> CRITIQUE : risque SQL injection

Read the full file on GitHub · 771 lines

Changes

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.

  1. 11d ago First seen · 771 lines · 42 tokens per session scan A 45e76e8c5c10

Subscribe to this mod's changes

laravel-reviewer is an agent published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 8d ago), licensed MIT. It adds 42 tokens to every session and 5,715 once invoked, about $0.0002 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-08-30.

Related

Other agents, from other repositories

dnp-performance-analyst

⚡ .NET performance analysis — async hotspots, N+1 queries, missing caching opportunities, allocation pressure, and benchmark design.

zdanovichnick/dotnet-pilot · 33 tokens

php-reviewer

Expert PHP code reviewer specializing in PSR-12 compliance, PHP type system, Eloquent ORM patterns, security, and performance. Use for all PHP code changes. MUST BE USED for PHP projects.

DekaPrayoga/AurixAgent · 44 tokens

Laravel Expert Agent

Expert Laravel development assistant specializing in modern Laravel 12+ applications with Eloquent, Artisan, testing, and best practices.

github/awesome-copilot · 27 tokens

fixture-reviewer

Audits .test integration fixtures under tests/php/Integration/Fixtures for drift against the current compiler output. Use after lexer, parser, analyzer, or emitter changes.

phel-lang/phel-lang · 37 tokens

java-refactor-expert

Expert Java and Spring Boot code refactoring specialist. Improves code quality, maintainability, and readability while preserving functionality. Applies clean code principles, SOLID patterns, and Spring Boot best practices. Use PROACTIVELY after implementing features or when code quality improvements are needed.

giuseppe-trisciuoglio/developer-kit · 61 tokens

typescript-refactor-expert

Expert TypeScript and modern JavaScript code refactoring specialist. Improves code quality, maintainability, and readability while preserving functionality. Applies clean code principles, SOLID patterns, and TypeScript best practices. Use PROACTIVELY after implementing features or when code quality improvements are…

giuseppe-trisciuoglio/developer-kit · 63 tokens