laravel

Structure Laravel applications with models, controllers, actions, and API resources.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/paulund/ai --skill laravel-paulund
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel
Source: https://github.com/paulund/ai/tree/main/laravel/skills/laravel
Command: npx skills add https://github.com/paulund/ai --skill laravel-paulund

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of guidelines and best practices for building and maintaining robust Laravel applications, ensuring consistency, performance, and maintainability.

Core Features & Use Cases

  • Structured Development: Enforces conventions for models, controllers, actions, and API resources.
  • Efficient Data Handling: Guides on proper validation, authorization, and data transformation.
  • Performance Optimization: Offers strategies for eager loading, database indexing, and caching.
  • Use Case: When developing a new feature that involves creating and updating user profiles, use this Skill to ensure all validation, persistence logic, and API responses adhere to established Laravel best practices.

Quick Start

Use the laravel skill to generate a new Eloquent model with a UUID resource ID and appropriate timestamps.

Frequently Asked Questions about laravel

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

FAQPage Schema
How do I structure Laravel controllers and API resources for maintainable web development?

Structured Laravel development requires enforcing conventions for models, controllers, actions, and API resources. This framework provides guidelines ensuring consistency and maintainability across your application's data transformation and persistence layers.

What is the best way to optimize Laravel Eloquent queries and prevent N+1 problems?

Optimizing Laravel Eloquent queries requires implementing eager loading and database indexing. This framework offers performance optimization strategies for efficient data handling, reducing query overhead and improving application response times.

Does this Laravel framework enforce validation and authorization for API endpoints?

Yes, this Laravel framework enforces best practices for proper validation and authorization. It guides efficient data handling by ensuring all API resources and controllers adhere to established security and data integrity standards.

How do I generate Laravel Eloquent models with UUIDs and timestamps?

Generating Laravel Eloquent models with UUID resource IDs and appropriate timestamps is supported through structured development conventions. This ensures your database schema and persistence logic align with robust application design patterns.

When do I need to use dedicated action classes in my Laravel application?

Dedicated action classes are needed when developing complex Laravel features that require isolated business logic. This framework enforces conventions for actions, ensuring your controllers remain lean and your maintainable PHP web development scales efficiently.