laravel12

laravel12 is a skill for Claude Code, Codex from fanqingxuan/awesome-skills. It costs 148 tokens per session (3,604 once invoked), scanned A, original, MIT.

A Laravel 12 development assistant for building PHP web applications. Laravel is a PHP framework that provides standard structures for routes, database records, requests, and background commands.

In plain words
What is it for?
Use it to create controllers, models, database changes, validation, middleware, services, routes, and command-line tasks.
Why use it?
It reduces the need to remember Laravel's file-generation commands and common application patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create controllers, models, database changes, validation, middleware, services, routes, and command-line tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fanqingxuan/awesome-skills/laravel12
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 fanqingxuan/awesome-skills --skill laravel12
Clone the repo
git clone --depth 1 https://github.com/fanqingxuan/awesome-skills

Made for: Claude Code, Codex.

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 laravel12

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fanqingxuan/awesome-skills/laravel12"><img src="https://agentmods.dev/badge/skills/fanqingxuan/awesome-skills/laravel12.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,604 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.00148 $0.03604
Opus 5.5 $0.00059 $0.01442
Sonnet 5.5 $0.00030 $0.00721
Haiku 4.5 $0.00015 $0.00360

Measured 2mo ago against content hash 371eea56a44a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

laravel12 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 2mo 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.

skills/laravel12/SKILL.md · 641 lines

How it starts

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

Laravel 12 开发指南

Laravel 12 框架开发助手,专注于控制器、模型、命令行工具、服务层的快速开发。

常用 Artisan 命令

# 生成控制器
php artisan make:controller UserController

# 生成资源控制器(RESTful)
php artisan make:controller UserController --resource

# 生成 API 控制器
php artisan make:controller API/UserController --api

# 生成模型
php artisan make:model User

# 生成模型 + 迁移文件
php artisan make:model User -m

# 生成模型 + 迁移 + 工厂 + 控制器
php artisan make:model User -mcf

# 生成命令
php artisan make:command ImportDataCommand

# 生成中间件
php artisan make:middleware CheckUserRole

# 生成服务提供者(用于注册门面)
php artisan make:provider PaymentServiceProvider

# 生成请求验证类
php artisan make:request StoreUserRequest

# 生成迁移文件
php artisan make:migration create_users_table

# 执行迁移
php artisan migrate

# 回滚迁移
php artisan migrate:rollback

# 生成 Seeder
php artisan make:seeder UserSeeder

# 执行 Seeder
php artisan db:seed

# 清除缓存
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clear

# 启动开发服务器
php artisan serve

快速示例

控制器

<?php

namespace App\Http\Controllers;

use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Http\JsonResponse;

class UserController extends Controller
{
    /**
     * Display a listing of the resource.
     */
    public function index(): JsonResponse
    {
        $users = User::all();

        return response()->json([
            'success' => true,
            'data' => $users
        ]);
    }

    /**
     * Store a newly created resource in storage.
     */
    public function store(Request $request): JsonResponse
    {
        $validated = $request->validate([
            'name' => 'required|string|max:255',
            'email' => 'required|email|unique:users',
        ]);

        $user = User::create($validated);

        return response()->json([
            'success' => true,
            'data' => $user
        ], 201);
    }

    /**
     * Display the specified resource.
     */
    public function show(User $user): JsonResponse
    {
        return response()->json([
            'success' => true,
            'data' => $user
        ]);
    }

    /**
     * Update the specified resource in storage.
     */
    public function update(Request $request, User $user): JsonResponse
    {
        $validated = $request->validate([
            'name' => 'sometimes|string|max:255',
            'email' => 'sometimes|email|unique:users,email,' . $user->id,
        ]);

        $user->update($validated);

        return response()->json([
            'success' => true,
            'data' => $user
        ]);
    }

    /**
     * Remove the specified resource from storage.
     */
    public function destroy(User $user): JsonResponse
    {
        $user->delete();

        return response()->json([
            'success' => true,
            'message' => 'User deleted successfully'
        ]);
    }
}

Read the full file on GitHub · 641 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 641 lines · 148 tokens per session scan A 371eea56a44a

Subscribe to this mod's changes

laravel12 is a skill published in the GitHub repository fanqingxuan/awesome-skills (30 stars, last pushed 6mo ago), licensed MIT. It adds 148 tokens to every session and 3,604 once invoked, about $0.0006 per session on Opus 5.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

laravel12 compared with skills from other repositories

laravel12 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
laravel12fanqingxuan/awesome-skillsSkill306mo agoMITA148Claude Code, Codex
laravel-specialistJeffallan/claude-skillsSkill12k7d agoMITA86Claude Code
php-proJeffallan/claude-skillsSkill12k7d agoMITA107Claude Code
craftcmsmichtio/craftcms-claude-skillsSkill882d agoMITA70Claude Code
llamaindex-developmentMindrally/skillsSkill29729d agoApache-2.0A32Claude Code
drupal-developmentMindrally/skillsSkill29729d agoApache-2.0A25Claude Code
laravel-developmentMindrally/skillsSkill29729d agoApache-2.0A21Claude Code