laravel

laravel is a skill for Claude Code from hmj1026/dhpk. It costs 96 tokens per session (1,186 once invoked), scanned A, original, MIT.

A guide for developing, upgrading, or debugging applications built with Laravel, a PHP web framework. It selects guidance for Laravel versions 5.4 through 11 or for the optional Laravel Mix build tool.

In plain words
What is it for?
Use it for Laravel-specific implementation and review, version upgrades, and version-related build debugging in PHP projects.
Why use it?
It avoids applying the wrong version's instructions by checking the requested version or the project's dependency files before giving advice.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dhpk plugin — 65 skills, 31 commands, 37 agents, 3 hooks shipped together

Good fit Use it for Laravel-specific implementation and review, version upgrades, and version-related build debugging in PHP projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hmj1026/dhpk/laravel
View source ↗ hmj1026/dhpk
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.

Any agent
npx skills add hmj1026/dhpk --skill laravel
Clone the repo
git clone --depth 1 https://github.com/hmj1026/dhpk

Made for: Claude Code.

Or install dhpk, the plugin that ships this one along with the rest of its 65 skills, 31 commands, 37 agents, 3 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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hmj1026/dhpk/laravel"><img src="https://agentmods.dev/badge/skills/hmj1026/dhpk/laravel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,186 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.00096 $0.01186
Opus 5 $0.00048 $0.00593
Sonnet 5 $0.00019 $0.00237
Haiku 4.5 $0.00010 $0.00119

Measured 7d ago against content hash 9ec9c5b8c1e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

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

generated/claude-profiles/compat-v1/package/skills/laravel/SKILL.md · 108 lines

How it starts

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

Laravel family router

This family package is self-contained. It routes a Laravel request to one version reference and keeps version-specific guidance out of the initial prompt until the selector is known.

Resolve the selector

Use this order and stop at the first decisive result:

  1. Explicit selector — honor the caller's version without reading a project file. Supported selectors are 5.4, 6, 7, 8, 9, 10, 11, and mix. The compatibility aliases 5-4, laravel-5.4, laravel-5-4, laravel-mix, and mix-5 normalize to 5.4 or mix.
  2. Project detection — if no selector was supplied, read the current project's composer.lock, then composer.json, for laravel/framework. A package-only asset project may also resolve mix from package.json when laravel-mix is declared. These files are read directly by the family-local resolver.
  3. Ask — if the selector is missing, malformed, unsupported, or ambiguous, ask which supported selector applies. Never guess a nearby major or silently use the newest reference.

Project detection never consults dhpk installation or publication manifests. The family package must continue to work when copied by itself.

Load exactly one reference

After resolution, load only the matching file below. Do not preload sibling versions. For a cross-version review or upgrade, consult compatibility.md or migration.md after the selector-specific reference; those shared notes are not selector targets.

Selector Reference
5.4 (or 5-4) references/5-4.md
6 references/6.md
7 references/7.md
8 references/8.md
9 references/9.md
10 references/10.md
11 references/11.md
mix (or laravel-mix) references/mix.md

Read the full file on GitHub · 108 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. 7d ago First seen · 108 lines · 96 tokens per session scan A 9ec9c5b8c1e5

Subscribe to this mod's changes

laravel is a skill published in the GitHub repository hmj1026/dhpk (2 stars, last pushed yesterday), licensed MIT. It adds 96 tokens to every session and 1,186 once invoked, about $0.0005 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-05.

Related

Other skills, from other repositories

craftcms

Craft CMS 5 plugin and module development — extending Craft with PHP. Covers elements, element queries, services, models, records, controllers, migrations, queue jobs, console commands, field types, native fields, events, behaviors, Twig extensions, widgets, filesystems, permissions, project config, GraphQL, testing…

michtio/craftcms-claude-skills · 327 tokens

php-ecosystem-reference

Use when picking a non-Laravel PHP tool — Symfony components, API Platform, or Slim — and routing to implementation. Do NOT use for Laravel (laravel-expert).

fusengine/agents · 42 tokens

php-http-psr

Use when building framework-agnostic PHP HTTP code — PSR-7/15/17/18 messages, middleware, factories, clients. Do NOT use for Laravel HTTP or Symfony HttpFoundation (not PSR-7).

fusengine/agents · 52 tokens

php-laravel

Modern PHP 8.2+ and Laravel patterns: architecture, Eloquent, queues, Pest testing. Use when asked to "write PHP", "build a Laravel app", "fix Eloquent query", "add a queue job", "write a Pest test", or mentions PHP, Laravel, Eloquent, Blade, artisan, or migrations.

iliaal/whetstone · 74 tokens

ia-php-laravel

Modern PHP 8.4 and Laravel patterns: architecture, Eloquent, migrations, queues, testing. Use when working with Laravel, Eloquent, Blade, artisan, or building/testing a framework-based PHP app. Not for php-src internals, standalone PHP libraries, or general PHP language discussion.

iliaal/whetstone · 67 tokens

symfony:interfaces-and-autowiring

Master Symfony Dependency Injection with autowiring.

dev-toolings/superpowers-symfony · 18 tokens