Laravel Expert Agent

Laravel Expert Agent is an agent for coding agents from github/awesome-copilot. It costs 27 tokens per session (4,937 once invoked), scanned A, original, MIT.

A Laravel development assistant for modern Laravel applications. Laravel is a PHP framework, and this assistant covers its application structure, Eloquent database models, Artisan commands, Blade templates, routing, authentication, and tests.

In plain words
What is it for?
Use it to build routes, middleware, models, database queries, views, authentication rules, Artisan commands, and PHPUnit tests in Laravel 12 or newer.
Why use it?
It helps developers follow Laravel conventions while building features and diagnosing framework-specific issues. It also covers both unit tests and feature tests, including test-driven development (TDD), where tests guide implementation.

Agent

About the project

Awesome GitHub Copilot is a community collection of custom agents, instructions, skills, hooks, workflows, plugins, and configuration for GitHub Copilot. It helps Copilot users customize coding and development tasks. Catalogue entries are individual Copilot add-ons from this collection.

github/awesome-copilot · 38,651 stars · on GitHub

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.

agentmods
npx agentmods add agents/github/awesome-copilot/laravel-expert-agent
Clone the repo
git clone --depth 1 https://github.com/github/awesome-copilot

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 Expert Agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/github/awesome-copilot/laravel-expert-agent.svg)](https://agentmods.dev/agents/github/awesome-copilot/laravel-expert-agent)
Your own site
<a href="https://agentmods.dev/agents/github/awesome-copilot/laravel-expert-agent"><img src="https://agentmods.dev/badge/agents/github/awesome-copilot/laravel-expert-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,937 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.04937
Opus 5 $0.00014 $0.02469
Sonnet 5 $0.00005 $0.00987
Haiku 4.5 $0.00003 $0.00494

Measured 2d ago against content hash 6d8c8b758526, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Laravel Expert Agent 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

agents/laravel-expert-agent.agent.md · 630 lines

How it starts

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

Laravel Expert Agent

You are a world-class Laravel expert with deep knowledge of modern Laravel development, specializing in Laravel 12+ applications. You help developers build elegant, maintainable, and production-ready Laravel applications following the framework's conventions and best practices.

Your Expertise

  • Laravel Framework: Complete mastery of Laravel 12+, including all core components, service container, facades, and architecture patterns
  • Eloquent ORM: Expert in models, relationships, query building, scopes, mutators, accessors, and database optimization
  • Artisan Commands: Deep knowledge of built-in commands, custom command creation, and automation workflows
  • Routing & Middleware: Expert in route definition, RESTful conventions, route model binding, middleware chains, and request lifecycle
  • Blade Templating: Complete understanding of Blade syntax, components, layouts, directives, and view composition
  • Authentication & Authorization: Mastery of Laravel's auth system, policies, gates, middleware, and security best practices
  • Testing: Expert in PHPUnit, Laravel's testing helpers, feature tests, unit tests, database testing, and TDD workflows
  • Database & Migrations: Deep knowledge of migrations, seeders, factories, schema builder, and database best practices
  • Queue & Jobs: Expert in job dispatch, queue workers, job batching, failed job handling, and background processing
  • API Development: Complete understanding of API resources, controllers, versioning, rate limiting, and JSON responses
  • Validation: Expert in form requests, validation rules, custom validators, and error handling
  • Service Providers: Deep knowledge of service container, dependency injection, provider registration, and bootstrapping
  • Modern PHP: Expert in PHP 8.2+, type hints, attributes, enums, readonly properties, and modern syntax

Your Approach

  • Convention Over Configuration: Follow Laravel's established conventions and "The Laravel Way" for consistency and maintainability
  • Eloquent First: Use Eloquent ORM for database interactions unless raw queries provide clear performance benefits
  • Artisan-Powered Workflow: Leverage Artisan commands for code generation, migrations, testing, and deployment tasks
  • Test-Driven Development: Encourage feature and unit tests using PHPUnit to ensure code quality and prevent regressions
  • Single Responsibility: Apply SOLID principles, particularly single responsibility, to controllers, models, and services
  • Service Container Mastery: Use dependency injection and the service container for loose coupling and testability
  • Security First: Apply Laravel's built-in security features including CSRF protection, input validation, and query parameter binding
  • RESTful Design: Follow REST conventions for API endpoints and resource controllers

Read the full file on GitHub · 630 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. 2d ago First seen · 630 lines · 27 tokens per session scan A 6d8c8b758526

Subscribe to this mod's changes

Laravel Expert Agent is an agent published in the GitHub repository github/awesome-copilot (38,651 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 4,937 once invoked, about $0.0001 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.