laravel

laravel is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 36 tokens per session (1,186 once invoked), scanned A, original, MIT.

A PHP framework for building web applications, with tools for database records and server-rendered HTML templates. PHP is a programming language commonly used for web servers.

In plain words
What is it for?
Use it to build PHP websites and APIs, query databases through its object-based database layer, create HTML with templates, and add real-time features with WebSockets.
Why use it?
It gives PHP applications an established structure for handling pages, data, authentication, and other common web concerns.

Skill for Claude CodeCodex

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

Good fit Use it to build PHP websites and APIs, query databases through its object-based database layer, create HTML with templates, and add real-time features with WebSockets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g1joshi/agent-skills/laravel
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 G1Joshi/Agent-Skills --skill laravel
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-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 laravel

README.md
[![agentmods](https://agentmods.dev/badge/skills/g1joshi/agent-skills/laravel/github.svg)](https://agentmods.dev/skills/g1joshi/agent-skills/laravel)
Your own site
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/laravel"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/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/g1joshi/agent-skills/laravel"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/laravel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 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.00036 $0.01186
Opus 5.5 $0.00014 $0.00474
Sonnet 5.5 $0.00007 $0.00237
Haiku 4.5 $0.00004 $0.00119

Measured 24d ago against content hash 96571edd41bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 24d 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/frameworks/laravel/SKILL.md · 192 lines

How it starts

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

Laravel

Laravel is an expressive PHP web application framework providing an elegant developer experience with Eloquent ORM, robust queues, events, and native real-time broadcasting.

When to Use

  • Enterprise Full-Stack PHP Web Applications: Building robust web portals with Eloquent ORM, Blade, and queues.
  • Modern Monoliths with Inertia.js: Pairing Laravel backend routes directly with React or Vue frontends without API boilerplate.
  • High-Velocity REST APIs: Utilizing Laravel API Resources, Sanctum authentication, and Form Requests.
  • Real-Time Applications with Laravel Reverb: First-party WebSocket broadcasting and real-time dashboard events.

Quick Start

// routes/web.php
Route::get('/', function () {
    return view('welcome');
});

// app/Models/User.php
// Elegant Active Record
$users = User::where('active', 1)->get();

Core Concepts

Eloquent ORM with Relationships & Scopes

Expressive database models with type hinting:

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Builder;

class Customer extends Model
{
    protected $fillable = ['name', 'email', 'is_active'];

    public function orders(): HasMany
    {
        return $this->hasMany(Order::class);
    }

    // Local query scope
    public function scopeActive(Builder $query): void
    {
        $query->where('is_active', true);
    }
}

Form Requests & Validated Controllers

Strict input validation separated from controller logic:

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class StoreOrderRequest extends FormRequest
{
    public function authorize(): bool
    {
        return $this->user() !== null;
    }

    public function rules(): array
    {
        return [
            'customer_id' => 'required|exists:customers,id',
            'amount' => 'required|numeric|min:0.01',
            'items' => 'required|array|min:1',
            'items.*.product_id' => 'required|integer',
            'items.*.qty' => 'required|integer|min:1',
        ];
    }
}

// In Controller:
namespace App\Http\Controllers;

use App\Http\Requests\StoreOrderRequest;
use App\Models\Order;
use Illuminate\Http\JsonResponse;

class OrderController extends Controller
{
    public function store(StoreOrderRequest $request): JsonResponse
    {
        $validated = $request->validated();
        $order = Order::create($validated);

        return response()->json($order, 201);
    }
}

Read the full file on GitHub · 192 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. 24d ago Changed · +5 lines 96571edd41bb
  2. 28d ago Changed · +122 lines · +17 tokens per session 64a040f6fa51
  3. 1mo ago First seen · 65 lines · 19 tokens per session scan A cb9d73aaa6f8

Subscribe to this mod's changes

laravel is a skill published in the GitHub repository G1Joshi/Agent-Skills (15 stars, last pushed 24d ago), licensed MIT. It adds 36 tokens to every session and 1,186 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories