setting up phpChart in laravel
问题 Environment:Amazon EC2. Ubuntu x64. (GD library installed) I'm recently using phpChart for graph and report in laravel framework. I'm stuck at the beginning stage. Here's what I've done. 1.Unzip the contents in phpChart_Lite to /var/www/app/libraries/phpChart. 2.Edit composer.json and add : "autoload": { "classmap": [ ... "app/libraries" ] }, 3.run:composer dump-autoload 4.modify conf.php in phpChart_Lite define('SCRIPTPATH',app_path().'/libraries/phpChart_Lite/'); Here's my test page code: <