clang-format vs PHP CS Fixer
clang-format
clang.llvm.orgPHP CS Fixer
cs.symfony.comSide by side
| Figure | clang-format | PHP CS Fixer |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 0 | 1 |
| Spec score · Code formatters | 7.7 (#8) | 7.5 (#12) |
| Spec score · Code Formatting Tools | 7.6 (#20) | 7.5 (#25) |
| License | LLVM releases are distributed under the Apache-2.0 license with LLVM exceptions, which the download page describes as OSI-approved. | The project is released under the MIT license. |
| Purpose | ClangFormat is a set of tools built on LibFormat for formatting source code, available as a standalone tool and through editor integrations. | PHP CS Fixer detects PHP coding standards problems and fixes them automatically. |
| Support and community | LLVM directs users to its Discourse forum and mailing lists, and announces new releases in its Announce category. | The maintainers welcome contributions, bug reports, and feature ideas on GitHub, and direct questions to GitHub Discussions. |
Plans
In their own words
clang-format
clang-format has no write-up on Specifiction yet; its figures are above.
PHP CS Fixer
PHP CS Fixer has no write-up on Specifiction yet; its figures are above.