FREEDOM251

Freedom251 › Compare

Side by side

PHP CS Fixer vs Uncrustify

Both stand on code formatters. Which one you can start free with, which one lets you read the code, and what each costs once you pay.

PHP CS Fixer

Free plan LinuxSelf-hosted

PHP CS Fixer offers automatic formatting alongside a reporting-only mode, with configurable styles and editor and CI options. Its MIT license and free price make it available without a listed purchase cost.

Visit PHP CS Fixer

Uncrustify

Free plan LinuxMacSelf-hosted+1

Uncrustify offers extensive formatting controls and command-line processing across several languages. Its stated bugs and testing needs make output review important, especially before formatting a whole codebase.

Visit Uncrustify

The facts

PHP CS FixerUncrustify
Free planYesYes
Open sourceNot publishedNot published
Runs onLinux, Self-hostedLinux, Mac, Self-hosted, Windows
Lowest paid planFree or on requestFree or on request
Plans published11
MakerNot publishedNot published
Websitecs.symfony.comgithub.com
On code formatters#9 of 22#13 of 22

PHP CS Fixer: what it does well

  • Built-in rule sets cover PER, Symfony, and PhpCsFixer styles
  • Custom styles and rules are supported
  • `check` reports without changing files
  • Risky rules are off by default
  • Editor plugins and CI examples are documented

What to know first

  • Supports PHP only
  • No free trial
  • Risky rules are not run by default

Uncrustify: what it does well

  • Formats eight listed programming languages
  • Version 0.83.0 has 901 configurable options
  • Processes multiple files from the command line
  • Provides Vim guidance and an IntelliJ plugin
  • Free and GPL-2.0 licensed

What to know first

  • The README warns that the application has bugs
  • Java and Objective-C support need more testing
  • Embedded SQL behavior needs more testing

Alternatives to PHP CS Fixer Alternatives to Uncrustify The whole list