Laravel Guidelines
Enforces Stefan Ermans' Laravel guidelines for code style, consistency, and best practices in backend projects.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add stefanmermans-laravel-guidelines npx -- -y @trustedskills/stefanmermans-laravel-guidelines
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"stefanmermans-laravel-guidelines": {
"command": "npx",
"args": [
"-y",
"@trustedskills/stefanmermans-laravel-guidelines"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides access to and applies the Laravel Guidelines. It ensures code adheres to established coding standards, promoting consistency and readability within a Laravel project. The guidelines cover aspects like naming conventions, formatting rules, and best practices for structuring applications.
When to use it
- Code Review: Automate checks during pull requests to enforce adherence to Laravel's coding style.
- New Project Setup: Quickly initialize a new Laravel project with pre-configured code styling.
- Refactoring Existing Code: Apply the guidelines to existing codebase for improved consistency and maintainability.
- Team Onboarding: Ensure all developers on a team follow the same coding standards.
Key capabilities
- Adherence to official Laravel Coding Standards
- Automated code formatting
- Code style checking
- Project initialization with pre-configured styling
Example prompts
- "Apply the Laravel Guidelines to this PHP file."
- "Check if this code snippet follows Laravel's naming conventions."
- "Format this Laravel project according to the official guidelines."
Tips & gotchas
This skill assumes a basic understanding of Laravel and its architecture. It is most effective when integrated into a development workflow with automated testing and continuous integration pipelines.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.