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,093 All time: 1,864 This week: 194Up
Version License Categories
phpformatter 1.0GNU General Publi...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 Filippo Toso
Name: Filippo Toso <contact>
Classes: 20 packages by
Country: Italy Italy
Age: 42
All time rank: 151 in Italy Italy
Week rank: 647 Down28 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,093
This week:0
All time:1,864
This week:194Up
User Ratings User Comments (1)
 All time
Utility:45%StarStarStar
Consistency:54%StarStarStar
Documentation:-
Examples:77%StarStarStarStar
Tests:-
Videos:-
Overall:35%StarStar
Rank:3178
 
- Obviously does not work on php 5.
10 years ago (M. C. Skinner)
15%Star
 
For more information send a message to info at phpclasses dot org.