PHP Classes

PHP Formatter: Reformat PHP source code using the PHP tokenizer

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 35%Total: 2,098 All time: 1,864 This week: 673Up
Version License Categories
phpformatter 1.0GNU General Publi...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 Filippo Toso
Name: Filippo Toso <contact>
Classes: 20 packages by
Country: Italy Italy
Age: 44
All time rank: 151 in Italy Italy
Week rank: 38 Down2 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,098
This week:0
All time:1,864
This week:673Up
User Ratings User Comments (1)
 All time
Utility:45%StarStarStar
Consistency:54%StarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:35%StarStar
Rank:4087
 
- Obviously does not work on php 5.
13 years ago (M. C. Skinner)
15%Star