Just finished packaging Fileinfo 1.0.3 that finally builds on both PHP 5.1 and 5.0 properly. You can download the new version by running "pecl install fileinfo" or download the tgz file from here.
I've also made the release of GDChart 0.2 that is nearly a complete rewrite of the extension, originally written by Rasmus that allows it to work with PHP 5.1. This extension wraps around the bundled gdchart library and allows you with just a few lines of code draw 20 different graphs types. Like all pecl extensions it can be installed by running "pecl install gdchart" or you can download the tar ball from here. Since at the moment there is no documentation for the extension, here are a few examples of its usage:
Hmm wasn't aware know that GDChart extension existed. But I wasn't happy with the quality of GDs output, so ended up using PHP5s XMLWriter for SVG chart generation. Better quality output, and now Firefox, Opera and IE (with Adobe SVG Viewer plugin) can view inline SVG means can include the chart directly in the page with XTHML1.1 + MathML 2.0 + SVG1.1 doctype.
I found it and got it working in the interim. But, I have some complaints! (Surprise...) First among them is that the hardcoded path for the magic file is Unix-centric. Why no windows paths? Second, why is there no documentation? Very terrible. PHP suggests that fileinfo supersedes the old magic module but without documentation a lot of people seem to be pretty well confused. (Including me, but I can google, so I figured it out well enough to solve my immediate problem...)
I've just compiled the gdchart extension with PHP 5.2.1 and it works fine; however I had to fetch it from CVS to get the fix http://cvs.php.net/viewvc.cgi/pecl/gdchart/gdchart-src/gdchart.c?r1=1.11&r2=1.12 from Helly in; also I had to add a '#include "php.h"' to gdchart-src/array_alloc.c so that it picks up _emalloc - otherwise I got linker errors. Perhaps a '#define emalloc _emalloc' is better? works too...
BTW. the libgdchart now advanced to v0.11.5 - maybe this can be added now to the PECL extension?
Also let me suggest that it would be way cool if you would add your samples above to CVS, and finally that all together put out as a release 0.3!!
Thanks, great extension!