|
1 | | -# IxDF PHP Coding Standard |
2 | | - |
3 | | -[](https://github.com/InteractionDesignFoundation/coding-standard/actions/workflows/test.yml) |
4 | | -[](https://github.com/InteractionDesignFoundation/coding-standard/actions/workflows/psalm.yml) |
5 | | -[](https://shepherd.dev/github/InteractionDesignFoundation/coding-standard) |
6 | | -[](https://shepherd.dev/github/InteractionDesignFoundation/coding-standard) |
7 | | - |
8 | | -An opinionated coding standard for PHP and Laravel projects, built on [PER-CS 3](https://www.php-fig.org/per/coding-style/). |
| 1 | +<p align="center"> |
| 2 | +<a href="https://www.interaction-design.org" target="_blank"> |
| 3 | +<picture> |
| 4 | +<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/InteractionDesignFoundation/coding-standard/main/art/logo_gdt_dark.svg"> |
| 5 | +<img src="https://raw.githubusercontent.com/InteractionDesignFoundation/coding-standard/main/art/logo_gdt_light.svg" alt="IxDF PHP Coding Standard" width="200"> |
| 6 | +</picture> |
| 7 | +</a> |
| 8 | +</p> |
| 9 | + |
| 10 | +<p align="center"> |
| 11 | +<a href="https://github.com/InteractionDesignFoundation/coding-standard/actions/workflows/test.yml"><img src="https://github.com/InteractionDesignFoundation/coding-standard/actions/workflows/test.yml/badge.svg" alt="Tests"></a> |
| 12 | +<a href="https://github.com/InteractionDesignFoundation/coding-standard/actions/workflows/psalm.yml"><img src="https://github.com/InteractionDesignFoundation/coding-standard/actions/workflows/psalm.yml/badge.svg" alt="PHP Psalm"></a> |
| 13 | +<a href="https://shepherd.dev/github/InteractionDesignFoundation/coding-standard"><img src="https://shepherd.dev/github/InteractionDesignFoundation/coding-standard/level.svg" alt="PHP Psalm Level"></a> |
| 14 | +<a href="https://shepherd.dev/github/InteractionDesignFoundation/coding-standard"><img src="https://shepherd.dev/github/InteractionDesignFoundation/coding-standard/coverage.svg" alt="PHP Psalm Type Coverage"></a> |
| 15 | +<a href="https://packagist.org/packages/interaction-design-foundation/coding-standard"><img src="https://img.shields.io/packagist/dt/interaction-design-foundation/coding-standard" alt="Total Downloads"></a> |
| 16 | +<a href="https://packagist.org/packages/interaction-design-foundation/coding-standard"><img src="https://img.shields.io/packagist/v/interaction-design-foundation/coding-standard" alt="Latest Stable Version"></a> |
| 17 | +</p> |
| 18 | + |
| 19 | +## IxDF PHP Coding Standard |
| 20 | + |
| 21 | +An opinionated coding standard for PHP and Laravel projects, built on [PER-CS3.0](https://www.php-fig.org/per/coding-style/). |
9 | 22 | Focuses on: |
10 | 23 | - **High signal-to-noise ratio** (concise but informative PHPDoc, e.g. array shapes) |
11 | 24 | - **Strict, explicit code**: `strict_types`, strict comparisons, final by default, no magic |
|
0 commit comments