Skip to content
Back to skills

Laravel Patterns

ASecurity

Laravel patterns: form requests, policies, Eloquent performance, queues, events and testing with Pest.

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

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --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/karthikrshet-laravel-patterns/badge)](https://www.skillsdirectory.com/skills/karthikrshet-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: form requests, policies, Eloquent performance, queues, events and testing with Pest."
tags: [php, backend]
---

# Laravel Patterns

## When to use

- Laravel apps

## Procedure

1. Validate with Form Requests
2. Authorise with Policies
3. Eager-load relations and paginate
4. Use queued jobs for slow work, idempotent
5. Test with Pest and RefreshDatabase

## Checklist

- [ ] No N+1 (preventLazyLoading in dev)
- [ ] Mass assignment guarded

## Anti-patterns

- Fat controllers
- Raw queries with string concatenation

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.