Acc Create Phpstan Config

🌐Community
by dykyi-roman · vlatest · Repository

Automatically generates a basic PHPStan configuration file tailored to your project's directory structure.

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 acc-create-phpstan-config npx -- -y @trustedskills/acc-create-phpstan-config
2

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

~/.claude/settings.json
{
  "mcpServers": {
    "acc-create-phpstan-config": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/acc-create-phpstan-config"
      ]
    }
  }
}

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

About This Skill

What it does

This skill generates a basic PHPStan configuration file. It allows you to quickly set up static analysis for your PHP projects, identifying potential errors and enforcing coding standards. The generated configuration provides a starting point that can be customized further based on project needs.

When to use it

  • You're starting a new PHP project and want to incorporate static analysis from the beginning.
  • An existing PHP project lacks static analysis and you need a quick way to get started.
  • You want to standardize coding practices across multiple PHP projects with a baseline configuration.
  • You’ve been assigned a legacy PHP codebase and want to introduce automated code quality checks.

Key capabilities

  • Generates a phpstan.neon file.
  • Provides a basic, functional starting point for static analysis.
  • Configures essential rulesets for common PHP coding standards.

Example prompts

  • "Create a phpstan configuration file."
  • "Generate a basic PHPStan config."
  • “Give me a phpstan.neon file.”

Tips & gotchas

  • The generated configuration is intended as a starting point and may require adjustments based on your project's specific requirements and dependencies.
  • Ensure you have PHP and Composer installed to use the generated configuration effectively.

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
dykyi-roman
Installs
2

🌐 Community

Passed automated security scans.