Laravel Guidelines

🌐Community
by stefanmermans · vlatest · Repository

Enforces Laravel coding standards and best practices automatically, improving code quality and consistency.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add laravel-guidelines npx -- -y @trustedskills/laravel-guidelines
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "laravel-guidelines": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/laravel-guidelines"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides adherence to Laravel coding guidelines. It ensures code conforms to PSR standards and best practices within a Laravel project, promoting consistency and maintainability. The skill can be used for automated code formatting or review processes.

When to use it

  • Code Formatting: Automatically format PHP files in a Laravel project according to the official guidelines.
  • Code Review: Analyze existing codebases to identify deviations from Laravel coding standards.
  • New Project Setup: Enforce consistent coding style from the beginning of new Laravel projects.
  • Team Collaboration: Ensure all team members adhere to the same coding conventions, improving collaboration and reducing merge conflicts.

Key capabilities

  • PSR compliance checking
  • Automated code formatting
  • Laravel specific guideline enforcement
  • Code review suggestions

Example prompts

  • "Format this PHP file according to Laravel guidelines: [file path]"
  • "Review this codebase for adherence to PSR standards and Laravel best practices."
  • "Check if this function follows the naming conventions of a Laravel project."

Tips & gotchas

The skill assumes you are working within a Laravel environment. It's most effective when integrated into an automated workflow (e.g., pre-commit hooks or CI/CD 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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
stefanmermans
Installs
12

🌐 Community

Passed automated security scans.