PHPackages                             dv-team/php-compact-code-style - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dv-team/php-compact-code-style

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dv-team/php-compact-code-style
==============================

PHP Code Style Guidelines Meta Package

061

Since Feb 15Pushed 3mo agoCompare

[ Source](https://github.com/dv-team/php-compact-code-style)[ Packagist](https://packagist.org/packages/dv-team/php-compact-code-style)[ RSS](/packages/dv-team-php-compact-code-style/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

php-compact-code-style
======================

[](#php-compact-code-style)

This repository defines the compact PHP coding style we use across projects, pairing an editor configuration with a concise style guide and documentation structure.

Status and Scope
----------------

[](#status-and-scope)

- Baseline: follows PSR-12, with explicit overrides documented in the style guide. ([PHP Style Guide](./docs/php-style-guide.md))
- Scope: PHP files only; the editor rules apply to `*.php`. ([.editorconfig](./.editorconfig))
- Goals: readability, predictability, explicit types, clear responsibilities, and understandable APIs. ([Goals](./docs/php-style-guide.md#goals))

Installation
------------

[](#installation)

- Copy `.editorconfig` into your project root. ([.editorconfig](./.editorconfig))
- Adopt the PHP style guide as the authoritative rules for PHP code. ([docs/php-style-guide.md](./docs/php-style-guide.md))
- Use the README template guidelines when writing project documentation. ([docs/readme-md-template.md](./docs/readme-md-template.md))

Quick Start
-----------

[](#quick-start)

```
