Skip to content
Back to skills

Laravel Patterns

ASecurity

Laravel patterns for mass assignment, raw queries, Blade escaping, uploads, queued jobs, and 11 to 13 upgrades. Load before any edit in a Laravel app, however small, and for Laravel questions.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsphpapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill laravel-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Laravel Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Laravel Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ku5ic-laravel-patterns/badge)](https://www.skillsdirectory.com/skills/ku5ic-laravel-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: laravel-patterns
description: Laravel patterns for mass assignment, raw queries, Blade escaping, uploads, queued jobs, and 11 to 13 upgrades. Load before any edit in a Laravel app, however small, and for Laravel questions.
---

# Laravel patterns

Default assumption: Laravel 13 on PHP 8.3 to 8.5, per the Laravel release notes. 13 gets bug fixes to Q3 2027 and security fixes to 2028-03-17, 12 security fixes only to 2027-02-24, and 11 and earlier none.

A row applies when `laravel/framework` in `composer.lock` is at least the row's version.

PHP itself is php-patterns.

## Reference files

Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.

| Before                                                                                                                                                                                     | Read                                                     |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------- |
| Writing Laravel code, or raising the Laravel version                                                                                                                                       | [reference/upgrades.md](reference/upgrades.md)           |
| Writing, changing, or reviewing Laravel code, Blade, or config                                                                                                                             | [reference/anti-patterns.md](reference/anti-patterns.md) |
| Writing `bootstrap/app.php`, a service provider, a route, a form request, authorization, a query loop, a schedule, an event, `defer()`, `Concurrency`, Sanctum auth, or rotating `APP_KEY` | [reference/practices.md](reference/practices.md)         |
| Configuring Pint, Larastan, or psalm-plugin-laravel                                                                                                                                        | [reference/tooling.md](reference/tooling.md)             |
| Writing or changing a file in `app/Models/`                                                                                                                                                | [reference/models.md](reference/models.md)               |
| Writing or changing a file in `app/Jobs/`                                                                                                                                                  | [reference/jobs.md](reference/jobs.md)                   |

Files in this skill

  • SKILL.md2.7 KB
  • reference/anti-patterns.md5.3 KB
  • reference/jobs.md1.2 KB
  • reference/models.md1.5 KB
  • reference/practices.md2.5 KB
  • reference/tooling.md1.5 KB
  • reference/upgrades.md11.4 KB
  • sources.md5.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.