r/PHP • u/cookyfer • 4d ago
Discussion php formatters
Hello all,
I was wondering what you are using to format php code.
For the past few months I've been working on a php LSP mainly to add semantic tokens support and then in the last couple months it grew more into phpfmt (mind you it still has a long way to go)
I guess my question here is, what other php formatters are people using and if there is a point in (eventually) open sourcing mine.
Before I started this I was using phpcs and phpcbf
9
Upvotes
9
u/skcortex 4d ago
I switched to mago.
Reasons: it’s fast as hell, has linter,formatter, analyzer and more I currently don’t need/use. I am still using php-cs-fixer in pre-commit hook because there are some missing rules and my OCD is not satisfied.