- Implemented PSR-18 support
- Switched from httpful to guzzlehttp
- Switched from travis ci to GitHub actions
- Compatible to PHP 8.2
- Improved error handling
- Add timeout parameter
- Small bug fixes
- Test php 7.4 and require at least php 7.3
- Small bug fixes
- Convert request parameter array to string
- Small bug fixes
- Fixed: The site ID can now be of mixed type again (e.g. 5, "9", "3,24,27", "all") or null
- Changed: Moved changelog to separate file
- Changed: Updated dependencies
- Changed: PHP >= 7.2 is now required
- Changed: Added type hints
- Fixed: Filter Limit
- Added: Compatible to Matomo 3.6.1
- Renamed to Matomo-PHP-API
- The
Piwik
class is now calledMatomo
- Changed license from Apache 2.0 to MIT
- Changed: Security fix
- Added: Compatible to Piwik 2.15.1
- Changed: Removed optional parameters for the methods and added optional parameters array. Some methods signatures changed, so please check your methods before upgrading.
For example getUrlsForSocial($segment = '', $idSubtable = '')
is now getUrlsForSocial($segment = '', $optional = [])
. So instead of calling $matomo->getUrlsForSocial('browserCode==FF;country==DE', 4)
you have to call $matomo->getUrlsForSocial('browserCode==FF;country==DE', ['idSubtable' => 4])
.
- Added: Compatible to Piwik 2.13.0
- Fixed: Errors were not appended to error array
- Changed: Requires PHP 5.4 (5.3 is not supported anymore)
- Added: Unit tests
- Added: Get separate data entries for a date range without the range period parameter #14
- Added: Compatible to Piwik 2.11
- Changed: Support for PSR-4 autoloading
- Fixed: Multiple bugs
- Added: Compatibility to piwik 2.10.0