yiisoft/code-style
Coding style and quality tools for PHP projects from Yii. Provides configuration and presets to keep code formatting consistent and enforce standards across your repository, helping teams maintain clean, readable code with automated checks.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| yiisoft/html | 0.90 | Yii HTML is a PHP library for safe, dynamic server-side HTML generation. It provides classes for common HTML tags, a CustomTag builder, widgets like ButtonGroup/CheckboxList/RadioList, automatic content encoding with NoEncode, and an Html helper API. | 58 | 58 | 23 | 21K | 7 | 27.8 | 43.1 | BSD-3-Clause | 2 weeks ago | |
| oscarotero/php-cs-fixer-config | 0.88 | Opinionated PHP-CS-Fixer configuration by Oscar Otero. Drop-in ruleset to standardize code style across projects, keep formatting consistent, and reduce bikeshedding. Ideal for teams wanting sensible defaults with minimal setup. | 2 | 2 | 1 | 2K | 0 | 1.5 | 38.8 | — | 1 year ago | |
| yiisoft/files | 0.87 | Yii Files is a PHP 8+ utility package with FileHelper methods for common filesystem tasks: ensure/create directories with permissions, remove or clear directories, filter files via path matching, and other file and directory management helpers. | 0 | 37 | — | 37K | — | 12.3 | 45.3 | — | — | |
| yiisoft/strings | 0.86 | Yii Strings provides fast, multibyte-safe string utilities for PHP: StringHelper and NumericHelper, Inflector (pluralize, slug), wildcard pattern matching, and optimized combined regex matching with optional memoization. | 49 | 51 | 19 | 63K | 5 | 14.8 | 48.2 | BSD-3-Clause | 6 months ago | |
| eliashaeussler/php-cs-fixer-config | 0.86 | Reusable PHP-CS-Fixer config package by Elias Häussler. Provides a ready-to-use ruleset and sensible defaults to keep PHP code style consistent across projects, with easy installation and quick integration into existing fixer setups. | 2 | 2 | 0 | 28K | 1 | 15.8 | 60.1 | GPL-3.0 | 5 months ago | |
| friendsofphp/php-cs-fixer | 0.85 | PHP CS Fixer automatically fixes PHP code to match coding standards. Use built-in rule sets (PER-CS, Symfony, PhpCsFixer) or custom config to unify style, modernize PHP/PHPUnit code, and apply safe or risky migrations. Supports PHP 7.4–8.5. | 13,520 | 13,609 | 1,635 | 5M | 44 | 86.2 | 72.3 | MIT | 3 weeks ago | |
| m6web/symfony2-coding-standard | 0.84 | Symfony2 coding standard ruleset for PHP_CodeSniffer from M6Web, providing a ready-to-use standard aligned with Symfony2 conventions to help keep code style consistent across teams and projects. | 17 | 19 | 5 | 2K | 0 | 1.0 | 20.4 | MIT | 10 years ago | |
| wayofdev/cs-fixer-config | 0.84 | — | 5 | 5 | 0 | 2K | 1 | 10.2 | 38.2 | MIT | 1 year ago | |
| yiisoft/test-support | 0.84 | Testing utilities for Yii applications: helpers and fixtures to simplify unit and integration tests, isolate dependencies, and improve readability. Provides common test tools you can reuse across packages and projects. | 15 | 15 | 11 | 15K | 3 | 16.4 | 46.1 | BSD-3-Clause | 4 months ago | |
| chiiya/code-style-php | 0.83 | Reusable code style configs for PHP 8.1+ projects, combining PHP-CS-Fixer, EasyCodingStandard (ECS), and Rector. Install via Composer and import the provided rule sets into your tool config files to standardize formatting and refactors. | 0 | 0 | 1 | 493 | 0 | 0.2 | 37.6 | — | — | |
| yiisoft/definitions | 0.83 | Minimalistic definitions container for PHP apps. Build and compose object definitions for DI: map IDs to classes, factories, values and params, with autowiring-friendly configuration. Designed to work smoothly with Yii and other PSR-based projects. | 0 | 15 | — | 30K | — | 14.8 | 51.5 | — | — | |
| yiisoft/di | 0.83 | PSR-11 compatible dependency injection container for PHP 8.1+. Supports autowiring plus constructor, method and property injection, aliasing, service providers, delegated/composite containers, circular reference detection, and state reset for long-running workers. | 236 | 239 | 46 | 27K | 14 | 19.5 | 38.2 | BSD-3-Clause | 6 months ago | |
| fabpot/php-cs-fixer | 0.83 | PHP CS Fixer is a command-line tool for automatically fixing PHP coding standards issues. It formats and modernizes code using configurable rulesets, supports custom rule configurations, and helps keep projects consistent and clean across teams and CI. | 13,520 | 13,538 | 1,634 | 21K | 44 | 85.5 | 39.5 | MIT | 3 weeks ago | |
| symplify/coding-standard | 0.82 | Ready-to-use PHP CS Fixer and PHP_CodeSniffer rules bundled as a coding standard, with Symplify tooling integration. Helps keep projects consistent, modern, and clean with configurable rule sets suited for CI and team workflows. | 381 | 382 | 26 | 87K | 0 | 3.5 | 32.3 | MIT | 1 year ago | |
| yiisoft/yii2-coding-standards | 0.82 | Yii 2 coding standards package providing PHP_CodeSniffer ruleset, sniffs, and tooling configs based on PSR-12 with Yii2-specific tweaks. Use it to enforce Yii2 core style in framework development or in existing Yii2 applications. | 182 | 186 | 49 | 38K | 1 | 24.9 | 34.7 | — | 1 year ago | |
| phlak/coding-standards | 0.82 | Predefined PHP-CS-Fixer coding standards by PHLAK. Install as a dev dependency, initialize via composer exec cs init or create a config using ConfigFactory with a Finder, then run php-cs-fixer. Supports adding or overriding rules via ConfigFactory::make(). | 2 | 2 | 0 | 941 | 0 | 17.2 | 39.0 | MIT | 3 months ago | |
| laragraph/utils | 0.81 | Laravel utilities for building GraphQL servers: shared primitives and helpers used by GraphQL packages. Install via Composer and use as a lightweight foundation for SDL-first (Lighthouse) or code-first (graphql-laravel) setups. | 21 | 21 | 8 | 555K | 0 | 20.2 | 62.6 | MIT | 3 months ago | |
| yiisoft/aliases | 0.81 | yiisoft/aliases stores and resolves path aliases (strings starting with @) for filesystem paths or URLs. Define aliases like @root, @vendor, @bin and expand them on demand, supporting nested aliases (e.g., @bin => @vendor/bin) without checking path existence. | 0 | 24 | — | 27K | — | 12.6 | 46.2 | — | — | |
| braincrafted/symfony2cs-bundle | 0.80 | — | 3 | 4 | 0 | 0 | 0 | 0.6 | — | MIT | 11 years ago | |
| chiiya/laravel-code-style | 0.80 | — | 1 | 1 | 1 | 541 | 0 | 0.0 | 33.6 | MIT | — |
How can I help you explore Laravel packages today?