1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/devel/beautifyphp/pkg-descr
Yen-Ming Lee c31d0a7d13 - add beautifyphp-0.5.0
This program tries to reformat and beautify PHP source code files automatically.
The program is Open Source and distributed under the terms of GNU GPL.
It is written in PHP and has a web frontend.

Note: devel/pear-PHP_Beautifier is for PHP5 only, and this one for PHP4.
2005-09-13 06:49:45 +00:00

25 lines
1.1 KiB
Plaintext

Beautify PHP
WWW: http://www.bierkandt.org/beautify/index.php
What it does:
This program tries to reformat and beautify PHP source code files automatically.
The program is Open Source and distributed under the terms of GNU GPL.
It is written in PHP and has a web frontend.
Who needs 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
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
- can make use of PHPs integrated code highlight option
- can limit number of chars per line. This will break the code at a space and
outputs the rest on the next line with an additional indent. (I used this to
reformat my code to put it in a LATEX document. This PHP code normally can't
be executed anymore, it is only useful for printout.)
- turn off and on beautifying by inserting "// NO_BEAUTIFY" or "// BEAUTIFY"
in source code