laravel-patterns

Apply Laravel 11+ patterns for Eloquent, APIs, queues, and testing.

7|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/skeletorflet/opencode-kit --skill laravel-patterns-skeletorflet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-patterns
Source: https://github.com/skeletorflet/opencode-kit/tree/main/.opencode/skills/laravel-patterns
Command: npx skills add https://github.com/skeletorflet/opencode-kit --skill laravel-patterns-skeletorflet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide a structured, battle-tested set of Laravel 11+ patterns and conventions to help teams build scalable, maintainable backends quickly.

Core Features & Use Cases

  • Eloquent modeling best practices, with clear relationships, scopes, and migrations
  • API design templates, resources, validation, and robust error handling
  • Queue and job processing patterns for asynchronous workloads
  • Testing scaffolds with PHPUnit and Pest for reliable code
  • Use Case: bootstrap a Laravel project with standardized patterns for models, APIs, and services

Quick Start

Show me how to apply Laravel 11+ patterns to bootstrap a new Laravel project.

Frequently Asked Questions about laravel-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bootstrap a new Laravel project with standardized backend patterns?

To bootstrap a Laravel project with standardized patterns, you apply structured templates for Eloquent modeling, API design, queues, and testing. This delivers battle-tested conventions to build scalable, maintainable backends quickly.

What is the best way to structure Eloquent models and relationships in Laravel 11+?

The best way to structure Eloquent models is by applying specific patterns for clear relationships, scopes, and migrations. This provides a standardized, maintainable architecture for your database layer.

How do I set up Laravel API resources and validation for robust error handling?

You set up API resources and validation by using provided API design templates that include robust error handling. This ensures your API responses remain consistent and structured across all endpoints.

What are the recommended patterns for Laravel queue and job processing?

Recommended patterns for Laravel queue and job processing involve using specific templates to handle asynchronous workloads. This structures your background tasks to improve application responsiveness and reliability.

Can I use PHPUnit and Pest scaffolds for testing in Laravel architectures?

Yes, you can use PHPUnit and Pest scaffolds for testing in Laravel architectures. The provided testing patterns deliver reliable code verification steps to ensure your backend functions correctly.