laravel-12

Guide Laravel 12 application development with modern architecture and conventions.

1|Updated Oct 17, 2025
One-click install
npx skills add https://github.com/matula/laravel-claude-marketplace --skill laravel-12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-12
Source: https://github.com/matula/laravel-claude-marketplace/tree/main/laravel-12
Command: npx skills add https://github.com/matula/laravel-claude-marketplace --skill laravel-12

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides expert guidance for building Laravel 12 applications using modern architecture, patterns, and conventions.

Core Features & Use Cases

  • Comprehensive guidance on Laravel 12 architecture, Eloquent, authentication/authorization, validation, queues, migrations, API development, testing, and configuration.
  • Real-world workflows such as creating models, controllers, APIs, authentication, validation, and testing; maintains standard conventions.
  • Use cases include starting new Laravel 12 projects, maintaining existing apps, and enforcing best practices across teams.

Quick Start

Review the Laravel 12 guidance and apply its structure and best practices to your next Laravel project.

Frequently Asked Questions about laravel-12

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

FAQPage Schema
What is the best way to structure a new Laravel 12 application?

Laravel 12 best practices enforce using Form Requests for validation, API resources for responses, and Eloquent over direct DB facades to ensure clean architecture and maintainability across your application.

How do I implement authentication in a Laravel 12 API?

Laravel 12 authentication uses $request->user() to retrieve authenticated users and applies standard authorization patterns to secure API endpoints effectively.

Does Laravel 12 require using Form Requests for validation?

Laravel 12 strongly enforces using Form Requests for validation rather than inline controller validation, ensuring request authorization and data validation logic are cleanly separated from your controller routes.

How do I write tests for Laravel 12 models and controllers?

Write tests for Laravel 12 by utilizing the framework's built-in testing suite to validate Eloquent model behavior, API endpoint responses, and authentication flows while maintaining standard testing conventions.

When should I use queues in a Laravel 12 application?

Use queues in Laravel 12 to offload time-consuming tasks such as processing API requests and background jobs, ensuring your application maintains fast response times and efficient request handling.