eyecatchup/SEOstats

Laravel - SEOstats folder and errors

Takuaraa opened this issue · 0 comments

Hello,

I'm still a bit new to Laravel. How do I correctly install this in Laravel?. I added this line into composer.json
"seostats/seostats": "dev-master"
I then ran composer update.
If I for instance try this: dd(Google::getSerps('Hack Google', 10)); then this works.
But if I want to try this: print Google::getSiteindexTotal(); I get an error saying : A non-numeric value encountered
If I want to try this: print_r( Google::getPagespeedAnalysis($url) ); I get another error saying: In order to use the PageSpeed API, you must obtain and set an API key first (see SEOstats\Config\ApiKeys.php). But I didn't create a SEOstats folder.

What am I missing?

Thank you.