Download the PHP package realodix/php-cs-fixer-config without Composer
On this page you can find all versions of the php package realodix/php-cs-fixer-config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download realodix/php-cs-fixer-config
More information about realodix/php-cs-fixer-config
Files in realodix/php-cs-fixer-config
Package php-cs-fixer-config
Short Description Provides a configuration factory and multiple rule sets for friendsofphp/php-cs-fixer.
License MIT
Homepage https://github.com/realodix/php-cs-fixer-config
Informations about the package php-cs-fixer-config
:exclamation: Abandoned!
This package is abandoned, you should avoid using it. Use realodix/relax
instead.
php-cs-fixer-config
Provides a configuration factory and multiple rule sets for friendsofphp/php-cs-fixer
.
Installation
You can install the package via composer:
Usage
Configuration
Pick one of the rule sets:
RealodixPlus
LaravelRisky
Create a configuration file .php-cs-fixer.php
in the root of your project:
Not interested with the built-in rule set?
Very easy, just use Blank
rule set, then add your rules.
Configuration with override rules
:bulb: Optionally override rules from a rule set by passing in an array of rules to be merged in:
Built-in custom fixers
PhpStorm/braces_one_line
- kubawerlos/php-cs-fixer-custom-fixers
- pedrotroller/php-cs-custom-fixer
- Slamdunk/php-cs-fixer-extensions
- drupol/phpcsfixer-configs-drupal
Drupal/blank_line_before_end_of_class
Drupal/control_structure_braces_else
Drupal/inline_comment_spacer
Drupal/new_line_on_multiline_array
Drupal/try_catch_block
Configuration with header
:bulb: Optionally specify a header:
This will enable and configure the HeaderCommentFixer
, so that
file headers will be added to PHP files, for example:
License
This package is licensed using the MIT License.
Credits
This project is inspired by and also replaces ergebnis/php-cs-fixer-config.
All versions of php-cs-fixer-config with dependencies
drupol/phpcsfixer-configs-drupal Version ^2.0
friendsofphp/php-cs-fixer Version ^3.0
kubawerlos/php-cs-fixer-custom-fixers Version ^3.0
nette/utils Version ^3.2