PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, January 16, 2022

[FIXED] installing phplot using cakephp3 wamp64

 January 16, 2022     cakephp, php     No comments   

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
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing