Publisher review:PHP_Beautifier program tries to reformat and beautify PHP source code files automatically. This program tries to reformat and beautify PHP source code files automatically.
It can convert your documents using different coding standards like PEAR, JAVA or C and has an easy to use web frontend.
Features:
- Version independent: Needs PHP5 to work, but can handle PHP 4 and PHP 5 scripts. Should beautify PHP 3, too (if anyone test it, please send a report)
- Plataform-independent: Should work on all the plataforms that supports PHP 5. Tested on Windows 98,2000,XP and Linux Gentoo 1.4.6
- Automatic indentation of PHP source code according to given number of spaces
- Automatic newlines, if required
- You can use the web frontend, command line or, if you prefer, could use the class directly
- Plug-in architecture, by the use of Filters. The control of beautify proccess is delegated on the Filters.
- The code to beautify can make callbacks to the base class and the filters. So, you can set the options for the beautify inside the same file.
- Batch processing. You can beautify multiple files inside directories (recursively, if you want to) and save they in another directory.
- Bugs from PhpBeautify fixed in PHP_Beautifier
- Parse only Php Code. All other tokens (HTML,Comments) are bypassed to the output
- HEREDOC parsed without any indentation
- Use of braces for indexing a string (ex. $this->myString{1}) doesn't produce strange indentation
- Switch statements are indented as spected
PHP_Beautifier 0.5.0 is a PHP script for Development Tools scripts design by Claudio Bustos.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris