pacbard/gChartPhp — pull request #6 by aimfeld (2012-04-20 18:56:53+00:00)
Title: Installation via composer and PSR-0 compliance

Dear pacbard,

First of all, thanks for providing this library!

I made your gChartPhp library PSR-0 autoloading compliant by moving the classes in the gchart namespace to a directory named gchart (see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md).

I additionally added a composer.json file to make the library installable using packagist/composer (see http://packagist.org/packages/gChartPhp/gChartPhp). This is great for automatic deployment using phing (see http://www.phing.info/trac/). Many PHP libraries support PSR-0 autoloading via composer, I hope you consider pulling my request.

Furthermore, I fixed the examples in view.html, they were broken.

Cheers, Adrian