How to work with " Google trends PHP API "

any one familiar with this?

i downloaded and i ran the code and i get below error




Warning:  
require(C:\xamp\htdocs\google-trends\google-trends-master\web/../vendor/autoload.php):
 failed to open stream: No such file or directory in C:\xamp\htdocs\google-trends\google-trends-master\web\index.php on line 1



Fatal error:  require(): Failed opening required 
'C:\xamp\htdocs\google-trends\google-trends-master\web/../vendor/autoload.php'
 (include_path='.;C:\xamp\php\PEAR') in C:\xamp\htdocs\google-trends\google-trends-master\web\index.php on line 1

any one familiar to it,how can i work with this?

Use a Linux vm rather than xamp.

1 Like

XAMPP usually has two Ps (PHP and Perl).

1 Like

i installed with composer and now i have below error:



Fatal error:  Class 'Guzzle\Http\Client' not found in C:\xamp\htdocs\google-trends\vendor\gabrielfs7\google-trends\src\GSoares\GoogleTrends\Search.php on line 70

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.