www.webdeveloper.com
Results 1 to 5 of 5

Thread: Is there a PHP formatter for formatting PHP?

  1. #1
    Join Date
    Sep 2010
    Posts
    87

    Is there a PHP formatter for formatting PHP?

    I've searched very long for a tool that formats (indents) PHP. I found HTML, CSS, and Javascript formatters.

    Does anyone know of a PHP formatter? Preferably online.
    "When Life Gives You Questions, Google has Answers"

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,175
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Jul 2010
    Location
    /ramdisk/
    Posts
    865
    Eclipse Helios will do it for you, not to mention is awesome for many other things.

    http://www.eclipse.org/downloads/pac...pers/heliossr2

    I use (, ; : -) as I please- instead of learning the English language specification: I decided to learn Scheme and Java;

  4. #4
    Join Date
    Oct 2008
    Location
    U.S.
    Posts
    726
    tabifier works pretty well and is available for use online:
    http://tools.arantius.com/tabifier
    in the drop down, select "C Style" then paste some php code in and click tabify button

  5. #5
    Join Date
    Oct 2013
    Posts
    4
    This might formate your php files..

    http://codebeautify.org/view/html to this link, paste your code and click on Beautify

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles