All notable changes to Laravel-Analytics will be documented in this file
- fix infinite loop
- add pagination to
performQuery
service_account_credentials_json
now also accepts an array
- add compatibility with Laravel 5.6
- allow dynamic modification of config
- add
months
andyears
methods toPeriod
- add
fetchUserTypes
- add compatibility with Laravel 5.5
- make publishing the config file optional
- add support for
v2
of the Google API - renamed config file from
laravel-analytics.php
toanalytics.php
- dropped support for anything lower than Laravel 5.4
- add support for Laravel 5.4
- dropped support for anything lower than Laravel 5.3
- improve exception message
- added
fetchTotalVisitorsAndPageViews
- added L5.3 compatibility
- added a fallback for the cache path setting
- added config setting to specify cache path
- added
pageTitle
tofetchVisitorsAndPageViews
andfetchMostVisitedPages
- fixed
credentialsJsonDoesNotExist
exception
- refactored all methods
- introduced
Spatie\Analytics\Period
to specify date ranges - the package now uses json credentials instead of .p12 file
- the
Spatie\Analytics\Analtyics
class is much easier to extend
- fixes a bug introduced in 1.4.0 where the check whether a p12 certificate is present was broken
This version does not work, please upgrade to 1.4.0
- removing the use of facades
- make
calculateNumberOfDays
-function protected
- Added method getSiteId()
- Fix PHP 5.4 compatibility
- An injected
Spatie\LaravelAnalytics\LaravelAnalytics
-object will now be properly configured
- Removed a var_dump-call that was not supposed to be there
###Do not use this version as it contains a var_dump that will mess up your output
- Added a method to set the siteId at runtime
- Store Google Api's cache in Laravel's storage directory
- Handled a breaking change caused by Laravel 5.1
- Moved the repo
- Corrected a bug that caused an error when using the realtime-cache
- Corrected a bug that caused the realtime-cache to be stored for too long
- Added support for the Real Time Reporting API
- Lowered minimum required Carbon version from 1.17 to ~1.0
- Fix the breaking error in the Api Helper.
- Lowered minimum required PHP version to 5.4
- This version is not working due to a bug in the Api Helper.
- Use Laraval 5 contracts to typehint cache
- Add DateTime type hints
- Stable first release
- Experimental initial release