php-laravel

Guide PHP 8.2+ and Laravel development with Eloquent, queues, and Pest testing.

Updated May 2, 2026
One-click install
npx skills add https://github.com/iliaal/compound-engineering-plugin --skill php-laravel-iliaal
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: php-laravel
Source: https://github.com/iliaal/compound-engineering-plugin/tree/main/distillery/generated-skills/php-laravel
Command: npx skills add https://github.com/iliaal/compound-engineering-plugin --skill php-laravel-iliaal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and best practices for modern PHP 8.2+ and Laravel development, covering architecture, database interactions, asynchronous tasks, and testing.

Core Features & Use Cases

  • Modern PHP Features: Utilizes features like readonly classes, enums, and match expressions.
  • Laravel Best Practices: Enforces patterns for controllers, services, actions, and Eloquent ORM.
  • Asynchronous Operations: Guides on implementing queues and jobs for background processing.
  • Testing: Details Pest testing strategies and common testing scenarios.
  • Use Case: When building a new Laravel application or refactoring an existing one, this Skill ensures adherence to current standards for maintainability and performance.

Quick Start

Use the php-laravel skill to generate a new Laravel service class for handling user authentication.

Frequently Asked Questions about php-laravel

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

FAQPage Schema
How do I structure a Laravel application to ensure maintainability and performance?▼

To structure a maintainable Laravel application, use established patterns for controllers, services, and actions. This separates business logic from routing and ensures robust long-term performance using modern PHP conventions.

What is the best way to implement background processing in Laravel?▼

The best way to implement background processing in Laravel is by utilizing queues and jobs. This asynchronous approach handles time-consuming tasks outside the request cycle, keeping your web application responsive and robust.

How do I write Pest tests for common scenarios in a Laravel application?▼

Write Pest tests for Laravel by following detailed testing strategies and scenarios. This verifies your application logic, Eloquent interactions, and asynchronous operations function correctly while maintaining established conventions.

Can I use modern PHP 8.2 features like enums and readonly classes in Laravel development?▼

Yes, you can use modern PHP 8.2 features like readonly classes, enums, and match expressions in Laravel development. Utilizing these features ensures strict code style and adherence to current standards.

How do I interact with databases using Eloquent ORM in Laravel?▼

Interact with databases using Eloquent ORM by following enforced Laravel best practices. This provides a maintainable way to handle database interactions and model relationships within your web application architecture.