pimcore-studio-backend-code-style

Enforce Pimcore Studio backend PHP code style rules across projects.

13|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/pimcore/skills --skill pimcore-studio-backend-code-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pimcore-studio-backend-code-style
Source: https://github.com/pimcore/skills/tree/main/skills/pimcore-studio-backend-code-style
Command: npx skills add https://github.com/pimcore/skills --skill pimcore-studio-backend-code-style

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pimcore Studio PHP code style rules provide a definitive standard for backend PHP development, ensuring consistent typing, modifiers, formatting, and documentation across projects.

Core Features & Use Cases

  • Strict typing and header conventions for all PHP files.
  • Class modifiers and readonly patterns to promote immutability and clear design.
  • Formatting discipline (max 120 characters per line) and consistent imports.
  • Constructor promotion and named arguments usage guidelines.
  • PHPDoc, @throws documentation, and internal annotation practices to improve maintainability.

Quick Start

Apply the code style rules to the Pimcore Studio backend bundles to align all existing and new code with the standard.

Frequently Asked Questions about pimcore-studio-backend-code-style

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

FAQPage Schema
How do I enforce strict typing and readonly class rules in Pimcore backend PHP?

To enforce strict typing and readonly class rules in Pimcore backend PHP, apply standardized code style guidelines requiring strict typing declarations, final/readonly class modifiers, and constructor promotion across all backend bundles.

What are the PHP code style requirements for Pimcore Studio backend bundles?

PHP code style requirements for Pimcore Studio backend bundles mandate strict typing, final/readonly class usage, constructor promotion, consistent imports, 120-character line limits, and standardized PHPDoc and @throws documentation practices to improve maintainability.

Does Pimcore Studio code style require constructor promotion and named arguments?

Yes, Pimcore Studio code style requires constructor promotion and provides guidelines for named arguments usage. These practices promote immutability and clear design while ensuring consistent formatting across all PHP backend projects.

How do I standardize PHPDoc and @throws annotations in PHP backend development?

To standardize PHPDoc and @throws annotations in PHP backend development, apply Pimcore Studio code style rules that define specific documentation practices, including internal annotation guidelines, to improve overall code maintainability across projects.

What is the best way to align existing PHP code with Pimcore Studio formatting standards?

The best way to align existing PHP code with Pimcore Studio formatting standards is to apply code style rules across all backend bundles, enforcing 120-character line limits, consistent imports, and strict typing declarations for all new and existing code.