Warning: You're looking at a styleless page because your browser is ignoring CSS styles. You're probably using a very old browser, or you disabled CSS support by purpose. We suggest you to download a modern browser such as Firefox or Internet Explorer.

phpCodeBeautifier

Girl with lipstick on

phpCodeBeautifier is a tool which avoid you of spending hours on reformating code to suit your own way of presenting it.

The tool has been declined into 3 versions:

  • A GUI version which allow to process file visually.
  • A command line version which allow to be batched or integrated with other tools (CVS, SubVersion, IDE ...).
  • As an integrated tool of PHPEdit.

{t}To make it short. phpCodeBeautifier is able to transform this code:{/t}

<?php
if($code == BAD){$action = REWRITE;}else{$action = KEEP;}
for($i=0; $i<10;$i++){while($j>0){$j++;doCall($i+$j);if($k){$k/=10;}}}
?>

Into the following:

<?php
if ($code == BAD) {
    $action = REWRITE;
} else {
    $action = KEEP;
}
for($i = 0; $i < 10;$i++) {
    while ($j > 0) {
        $j++;
        doCall($i + $j);
        if ($k) {
            $k /= 10;
        }
    }
}

?>

News

phpCodeBeautifier 1.0.1 for Windows and Linux (Feb. 21st, 2007 - Category: phpCodeBeautifier)

We are proud to announce the immediate availability of version 1.0.1 the command line version of our php code beautifier for linux and windows.

This version only fix an issue preventing the tool to read recognize options passed from the command line.

Download it now »

phpCodeBeautifier is available for Linux (Feb. 15th, 2007 - Category: phpCodeBeautifier)

We are proud to announce the immediate availability of the command line version of our php code beautifier for linux.

Download it now »

phpCodeBeautifier 0.8 is out (Sep. 18th, 2003 - Category: phpCodeBeautifier)

This version contains the following changes:

  • Bug #1859: Format of method reference wrong
  • Bug #1943: skip formatting
  • Bug #1329: no need to use 'cbo' prefix in user interface
  • Bug #1387: Having added a new Profile Code beautifier refuses to run at all
  • Bug #1342: indenting does wrong with if ($$...)
  • Bug #1391: Required library was not found: rtl60.bpl
  • Bug #1397: Loop on configuration request
  • Bug #1737: Bug link
  • Bug #1395: CTRL+D in PHPEdit doubles new lines
  • Bug #1336: The place of the braces
  • Bug #1736: If inside Switch not well beautified
  • Bug #1363: XML tag badly handled
  • Bug #1360: option to only rewrite PHPDoc's comment
phpCodeBeautifier 0.7.7 is out (Jan. 7th, 2003 - Category: phpCodeBeautifier)

This version contains the following changes:

  • Added cboRewriteOnlyDocumentationComment option in the code beautifier.
  • Added cboOneTrueBrace in the code beautifier
  • Fixed bug #1054: If /Else indentation
  • Fixed bug #1054: do {} while is not correct indented
  • Fixed bug #971: PHP Interpreter line command modified
phpCodeBeautifier 0.7.5 is out (Dec. 2nd, 2002 - Category: phpCodeBeautifier)

This version contains the following changes:

  • Fixed bug #1146: Tick `` code is removed.


Powered by PHPEdit