Posted on Monday 28 November 2005 - Popularity: 4%
Edit: Version 1.2 is out, more info and download link over here.
As announced a few hours ago, here’s the second OS X Code (r,s) application based on Platypus. The name of the app is phpPackageScan and while I’ve created the app for myself, it should be useful for almost any PHP developer out there that works on a plugin, module, extension or addon of a big php web application or anyone that wants to document a php project.
Now what is it exactly? Basically the app scans through a folder you drop over it and outputs a HTML report of each and every file/folder inside. Now it not only shows all the files, it scans all php files for functions and classes and shows you where exactly those are (with line numbers), so you get a detailed overview of the scripts functions and classes. The HTML output is CSS formatted, so it shouldn’t be too hard to skin it for your very own needs. Additionally the app generates some stats of the whole package, an example:
10 folders, 163 files, 1101512 bytes (total), 1022055 bytes (scripts), 125 php files, 50 php files with functions, 30881 lines of code, 786 functions and 25 classes.
I’ve tested the app with a lot of huge web applications, so I think it should be able to handle even the biggest web applications out there, but nothing is perfect, so if you discover any bugs or if you have any wishes for future versions, please let me know.
Update: Version 1.1 is out, adding a dialog so you can select additional file suffixes to scan.
Fredi

















November 30th, 2005 at 9:50 pm
awesome. incredibly handy for docuentation purposes. thank you.
December 18th, 2005 at 5:54 pm
Agreed - a nice little app! I can see this coming in useful for future projects.
March 1st, 2006 at 10:59 pm
[…] : Now what is it exactly? Basically the app scans through a folder you drop over it and outputs a HTML report of each and every file/folder inside. Now it not only shows all the files, it scans all php files for functions and classes and shows you where exactly those are (with line numbers), so you get a detailed overview of the scripts functions and classes. The HTML output is CSS formatted, so it shouldn%u2019t be too hard to skin it for your very own needs. […]
August 1st, 2006 at 11:16 am
I like it and the background and colors make it easy to read