backend-laravel

backend-laravel is a skill for Claude Code, Codex from kieutrongthien/skills-fullstack. It costs 19 tokens per session (758 once invoked), scanned A, original, MIT.

A guide for building and maintaining Laravel applications, including APIs and websites. Laravel is a PHP framework that provides common tools for routes, databases, authentication, queues, and email.

In plain words
What is it for?
Use it for Laravel routes, controllers, form validation, database models and migrations, authentication, queues, notifications, mail, testing, and query debugging.
Why use it?
It gives a consistent way to structure controllers, validation, models, migrations, and business logic. This reduces mistakes when changing server-side application code.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it for Laravel routes, controllers, form validation, database models and migrations, authentication, queues, notifications, mail, testing, and query debugging.

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

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 backend-laravel

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kieutrongthien/skills-fullstack/backend-laravel"><img src="https://agentmods.dev/badge/skills/kieutrongthien/skills-fullstack/backend-laravel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 758 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.00019 $0.00758
Opus 5 $0.00010 $0.00379
Sonnet 5 $0.00004 $0.00152
Haiku 4.5 $0.00002 $0.00076

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

Security

Grade A, and why

backend-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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/dev-check.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

backend-laravel/SKILL.md · 62 lines

How it starts

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

Backend - Laravel

When to use this skill

  • Creating APIs, controllers, routes, form requests, models, and migrations.
  • Implementing authentication/authorization, validation, queues, notifications, or mail.
  • Debugging performance, database queries, or request/response handling.

Quick start

  1. Install PHP deps: composer install.
  2. Env: copy .env.example -> .env; set APP_KEY via php artisan key:generate; configure DB and queue.
  3. Run migrations/seeders: php artisan migrate --seed (if seeders exist).
  4. Serve: php artisan serve or via Sail/Valet; tests: php artisan test; quality: composer lint if defined.

Project structure basics

  • Routes: routes/api.php for stateless APIs; routes/web.php for web routes with sessions.
  • Controllers: thin; push business logic into services/actions; type-hint dependencies for auto DI.
  • Form Requests: validate/authorize input; keep controllers lean.
  • Models and Eloquent: define fillable/guarded; relationships and scopes for query reuse.
  • Migrations/Seeders: keep schema in migrations; seed minimal fixtures for dev/test.

Coding principles

  • Keep controllers thin; validate/authorize via Form Requests; push logic to services/actions.
  • Normalize errors in exception handler; avoid leaking internals; include request IDs in logs.
  • Secure by default: policies/gates for authz, hashed secrets, avoid logging sensitive data.
  • Handle migrations carefully; prefer reversible changes and minimal seeds for tests.
  • Enforce tests and available lint/static tools before merge (run scripts/dev-check.sh).

Patterns and snippets

  • API route, Form Request, controller, queue, and caching templates live in references/snippets.md.
  • Use resources/transformers to keep API shapes consistent; eager-load to avoid N+1.

Security and auth

  • Use Laravel Sanctum/Passport for API auth; hash secrets; never log credentials.
  • Authorize actions via policies or gates; ensure middleware protects routes.

Error handling and logging

  • Customize exception rendering in app/Exceptions/Handler.php; map validation and domain errors clearly.
  • Use structured logs; include request IDs for tracing.

Read the full file on GitHub · 62 lines

Files

What ships with it

6 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. 11d ago First seen · 62 lines · 19 tokens per session scan A 16e2c2fb0a00

Subscribe to this mod's changes

backend-laravel is a skill published in the GitHub repository kieutrongthien/skills-fullstack (2 stars, last pushed 7mo ago), licensed MIT. It adds 19 tokens to every session and 758 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-08-31.

Related

Other skills, from other repositories

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

create-powergrid-plugin

Create a complete PowerGrid plugin from scratch, including PHP class, Column macro, Blade view, Alpine.js component, and registration.

Power-Components/livewire-powergrid · 31 tokens

owl-admin-devtools-generator

A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.

slowlyo/owl-admin · 82 tokens

llamaindex-development

Expert guidance for LlamaIndex development including RAG applications, vector stores, document processing, query engines, and building production AI applications.

Mindrally/skills · 32 tokens

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

laravel-expert

Laravel & PHP Development Instructions for GitHub Copilot.

GulajavaMinistudio/awesome-copilot-id · 15 tokens