Issue
I have some issues installing phplot on windows (wamp64) for a cakephp3 application. The instructions indicate
"On Windows systems, you can simply download the release ZIP file, expand
it using Windows Explorer, and copy the needed script file(s) out of
the contained phplot-* folder into place."
q1)Where exactly is "into place mean" on wamp64?
q2) accessing phplot in cakephp3 projects (I cant find instructions)?
http://phplot.sourceforge.net/phplotdocs/install-install.html
Solution
You can use composer for the same. Execute this command inside your project directory to install it.
composer require davefx/phplot
OR add this line in your projects composer.json file in require section.
"davefx/phplot": "*"
and the execute composer update
command.
OR you can also unzip phplot zip file inside your vendor directory and then include it in your controller by using below command
require_once(ROOT . 'vendor' . DS . 'phplot-6.2.0' . DS . 'phplot.php');
Answered By - Sehdev
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.