Login   Register  
PHP Classes
elePHPant
Icontem

PHP Formatter: Reformat PHP source code using the PHP tokenizer

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-08-04 (10 years ago) RSS 2.0 feedStarStar 35%Total: 2,010 This week: 1All time: 1,823 This week: 1,435Up
Version License Categories  
phpformatter 1.0GNU General Public Lice...Utilities and Tools, Text processing
Description Author  

This class is meant to reformat PHP source code.

It uses the PHP tokenizer functions to parse PHP source and rewrites the same code using consistent indentation).

Picture of Setec Astronomy
Name: Setec Astronomy <contact>
Classes: 20 packages by
Country: Italy Italy
Age: ???
All time rank: 141 in Italy Italy
Week rank: 166 Down8 in Italy Italy Down
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Plain text file phpformatter.class.php Class Class file
Accessible without login Plain text file sample.php Example Sample file

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,010All time:1,823
 This week:1This week:1,435Up
User Ratings User Comments (1)  
 All time
Utility:45%StarStarStar
Consistency:54%StarStarStar
Documentation:-
Examples:77%StarStarStarStar
Tests:-
Videos:-
Overall:35%StarStar
Rank:2253
 
- Obviously does not work on php 5.
3 years ago (M. C. Skinner)
15%Star