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,018 This week: 2All time: 1,831 This week: 829Up
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: 42 Down3 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,018All time:1,831
 This week:2This week:829Up
User Ratings User Comments (1)  
 All time
Utility:45%StarStarStar
Consistency:54%StarStarStar
Documentation:-
Examples:77%StarStarStarStar
Tests:-
Videos:-
Overall:35%StarStar
Rank:2280
 
- Obviously does not work on php 5.
3 years ago (M. C. Skinner)
15%Star