This package is abandoned and no longer maintained. The author suggests using the symplify/sniffer-fixer-to-ecs-converter package instead.

Converter PHP_CodeSniffer or PHP-CS-Fixer configs to ECS with single Command

v9.3.26 2021-06-12 13:24 UTC


Downloads total

  • From phpcs.xml to ecs.php?
  • From .php_cs.dist to ecs.php?

In single command run!

Based on:


composer require symplify/sniffer-fixer-to-ecs-converter --dev


vendor/bin/sniffer-fixer-to-ecs-converter convert phpcs.xml

That's it :)

Report Issues

In case you are experiencing a bug or want to request a new feature head over to the Symplify monorepo issue tracker


The sources of this package are contained in the Symplify monorepo. We welcome contributions for this package on symplify/symplify.