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 | Tools for dynamic server-side HTML generation: rich set of tag classes, custom tags, widgets (ButtonGroup, CheckboxList, RadioList), automatic HTML-encoding with NoEncode bypass, and an Html helper with static methods to build tags and widgets. | 58 | 58 | 23 | 31K | 6 | 25.8 | 44.8 | BSD-3-Clause | 1 month 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 | 4K | 0 | 1.5 | 42.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. | 37 | 37 | 18 | 57K | 3 | 10.1 | 47.7 | BSD-3-Clause | 7 months ago | |
| 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 | 110K | 5 | 12.2 | 50.4 | BSD-3-Clause | 7 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 | 18K | 1 | 13.1 | 55.7 | GPL-3.0 | 7 months ago | |
| friendsofphp/php-cs-fixer | 0.85 | PHP CS Fixer automatically detects and fixes PHP coding style issues, applying built-in rule sets (PER-CS, Symfony, PhpCsFixer) or custom configs. Helps modernize code for newer PHP/PHPUnit. Install via Composer; supports PHP 7.4–8.5. | 13,541 | 13,631 | 1,635 | 5M | 42 | 90.3 | 73.4 | MIT | 1 week 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 | 18.9 | MIT | 10 years ago | |
| wayofdev/cs-fixer-config | 0.84 | — | 5 | 5 | 0 | 2K | 1 | 10.2 | 38.3 | MIT | 2 years 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 | 22K | 3 | 13.8 | 49.3 | BSD-3-Clause | 5 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 | 592 | 0 | 0.2 | 38.3 | — | — | |
| 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. | 15 | 15 | 6 | 66K | 4 | 12.6 | 55.5 | BSD-3-Clause | 7 months ago | |
| 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 | 49 | 54K | 14 | 16.6 | 41.0 | BSD-3-Clause | 7 months ago | |
| fabpot/php-cs-fixer | 0.83 | Automatically fix PHP coding standards issues and unify style across your codebase. Includes rule sets like PER-CS, Symfony, and PhpCsFixer, plus configurable rules and migrations to modern PHP and PHPUnit. Supports PHP 7.4–8.5. | 13,542 | 13,555 | 1,635 | 13K | 42 | 88.8 | 37.5 | MIT | 1 week 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 | 45K | 1 | 4.9 | 33.1 | — | 2 years 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 | 912 | 0 | 15.3 | 38.2 | MIT | 4 months ago | |
| eloquent/code-style | 0.81 | — | 0 | 0 | 0 | 10 | 0 | 0.8 | 13.8 | MIT | 3 years 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. | 22 | 22 | 8 | 562K | 0 | 17.6 | 61.3 | MIT | 4 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. | 24 | 24 | 10 | 40K | 3 | 10.6 | 47.8 | BSD-3-Clause | 7 months ago | |
| 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 | 790 | 0 | 0.1 | 35.9 | MIT | — |
How can I help you explore Laravel packages today?