Introducing PHP source code beautifier
| From: | Jens Bierkandt | Date: | Fri, 20 Sep 2002 22:12:19 +0000 |
| Subject: | Introducing PHP source code beautifier | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-9268@lists.php.net to get a copy of this message | ||
Hi,
as described on the PEAR website, I'd like to introduce my program to you
hoping it might help somebody out there and, if you want to, add it to PEAR.
I wrote a class using PEAR called Beautify PHP. The goal is to automatically
beautify php source code files (like the common program indent, but php/pear
specific) and apply common coding standards.
Who could need it:
* people, who get PHP code from other coders and are slightly confused
* people, who can't read their own PHP code anymore
* people, who want to share their PHP code
* people, who want to code for PEAR with other coding standards
Basic features:
* automatic indentation of PHP source code according to given number of
spaces
* automatic newlines, if required
* includes settings for braces according to C or PEAR style
* quite some more
Future ideas:
* Use this class as a suite for future PEAR classes to test if they meet
the coding standard?
If you are interested in testing this class, you can check it at:
http://www.bierkandt.org/beautify/
This program exists for about four month now and I got quite a lot of positive
response and already got to know a guy who wants to help me and who coded
additions (e.g. the implementation of the PEAR class).
I'm looking forward hearing from you,
Jens