spatie / analytics-statistics

An opinionated php package to retrieve Google Analytics data.
https://murze.be/2015/06/get-data-from-google-analytics-on-legacy-sites/
MIT License
74 stars 10 forks source link

PHP Default types are getting Spatie namespace Laravel Homestead #3

Closed seymourduncandevops closed 8 years ago

seymourduncandevops commented 8 years ago

Hey there,

I'm trying to set this up on Laravel 5.2 on homestead (using HHVM hack) but have been running into a lot of issues. With a default setup (following readme install instructs to the letter), I get this error out of the box:

ErrorException in AnalyticsClient.php line 39:
Argument 1 passed to Spatie\Analytics\AnalyticsClient::setCacheLifeTimeInMinutes() must be an instance of Spatie\Analytics\int, int given

Even after removing all type hinting from the spatie/ files, other odd issues seem to arise in Carbon which makes me think this issue is deeper than some duckpunching patches. Any thoughts on how to resolve?

freekmurze commented 8 years ago

Hi,

I'm going to abandon this package soon.

if you're using Laravel 5, take a look at our newer laravel-analytics package.

seymourduncandevops commented 8 years ago

Hey, sorry, that was the package I was using, but made the issue in the wrong repo. I'll transfer this over. Thanks!