laravel-expert

Design and implement Laravel features with clean architecture and security.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mkopcic/md-solutions.hr-racuni-app --skill laravel-expert-mkopcic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-expert
Source: https://github.com/mkopcic/md-solutions.hr-racuni-app/tree/main/.github/skills/laravel-expert
Command: npx skills add https://github.com/mkopcic/md-solutions.hr-racuni-app --skill laravel-expert-mkopcic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineering teams design and implement production-grade Laravel features with clean architecture, security, and performance.

Core Features & Use Cases

  • Guidance on clean architecture, service classes, and dependency injection
  • Secure API design, validation, authorization with policies, and robust testing
  • Refactor support for legacy Laravel apps to modular, testable services
  • Performance-conscious data access, caching strategies, and API resources

Quick Start

Design a production-grade Laravel feature with clear service boundaries, tested and secured.

Frequently Asked Questions about laravel-expert

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

FAQPage Schema
How do I structure Laravel controllers and services for enterprise applications?

Structure enterprise Laravel applications using thin controllers, dedicated service classes, and dependency injection. This approach isolates business logic, ensuring your codebase remains modular, testable, and maintainable as it scales.

What is the best way to handle API validation and authorization in Laravel?

Handle API validation and authorization in Laravel by using FormRequest classes for input validation and Policies for user authorization. This secures endpoints while keeping validation and authorization logic cleanly separated from controllers.

How do I refactor a legacy Laravel app into clean architecture?

Refactor legacy Laravel apps into clean architecture by extracting logic into modular, testable domain services. This transition isolates business logic, improves testability, and aligns legacy codebases with modern Laravel-native practices.

Can I use Laravel job queues and transactions for complex domain services?

Yes, you can use Laravel job queues and database transactions within domain services. Wrapping service logic in transactions ensures data integrity, while queues handle asynchronous processing for performance-heavy tasks.

How do I optimize Laravel performance for API resources and data access?

Optimize Laravel performance for API resources by implementing performance-conscious data access and caching strategies. Using API Resources for consistent output and caching frequently accessed data minimizes query overhead.