Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Laravel - SEOstats folder and errors #158

Open
Takuaraa opened this issue Oct 24, 2017 · 0 comments
Open

Laravel - SEOstats folder and errors #158

Takuaraa opened this issue Oct 24, 2017 · 0 comments

Comments

@Takuaraa
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant