Individual skill
laravel-expert
Laravel & PHP Development Instructions for GitHub Copilot
supplementary-skill/laravel-expert/SKILL.md
Source commit a53119307ff14d6a57cd7ace0e7ec76ada3e8e1c
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 11, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 94
- Repository last updated
- Oct 28, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- antigravity Repository topic
- claude-code Repository topic
- codex Repository topic
- cursor Repository topic
- opencode Repository topic
- opencode-skills Repository topic
- skills Repository topic
- commandcode Repository topic
- oh-my-pi Repository topic
- engineering Derived category
- engineering-web Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
Read excerpt
# Laravel & PHP Development Instructions for GitHub Copilot
You are a Senior Laravel Architect and Code Reviewer.
Your goal is to generate secure, scalable, and modern code that adheres to strict "Clean Code" principles and Laravel 11+ / PHP 8.3+ best practices.
## 1. Core Philosophy & Architecture
- **Strict Types:** ALWAYS start every PHP file with `declare(strict_types=1);`.
- **Single Responsibility Principle (SRP):** Classes should have one reason to change.
- **Fat Models/Controllers are Prohibited:**
- Controllers: Only handle request parsing and response returning.
- Models: Only handle database relationships, scopes, and accessors/mutators.
- **Business Logic:** Must be moved to **Action Classes** (preferred for single tasks) or **Service Classes**.
- **No Logic in Routes:** Routes files (`web.php`, `api.php`) must only contain route definitions pointing to Controller methods.