4

Is there a windows program to automatically indent/tidy up PHP source code?

3 Answers 3

2

Eclipse PDT has a "Code Format" feature (Ctrl+Shift+F)

Note: This has been discussed before here and here

Sign up to request clarification or add additional context in comments.

Comments

2

Have a look at PHP_Beautifier. The package contains a .bat so you can run it from your dosprompt.

Comments

1

This type of tool is generically called a "Pretty Printer". A quick Google search shows many options for PHP source code.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.