Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to PHP SDK in Reporting Clients developer doc #16291

Closed
guix77 opened this issue Aug 13, 2020 · 5 comments · Fixed by matomo-org/developer-documentation#369
Closed

Link to PHP SDK in Reporting Clients developer doc #16291

guix77 opened this issue Aug 13, 2020 · 5 comments · Fixed by matomo-org/developer-documentation#369
Labels
c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base.

Comments

@guix77
Copy link

guix77 commented Aug 13, 2020

Hi, would it be possible to provide an official PHP Reporting Client for the Reporting API or at least evaluate & eventually link in the doc those that already exist?

@Findus23 Findus23 added the c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base. label Aug 13, 2020
@Findus23
Copy link
Member

Hi,

I don't think an official client is the highest priority because in most languages you can simply make the API request in a few lines of custom code that doesn't introduce a dependency and fits to the existing code style.

That said, I think it should be fine to e.g. create a new subpage at https://developer.matomo.org/api-reference/reporting-api which links to those existing clients.

@guix77
Copy link
Author

guix77 commented Aug 13, 2020

Hey,

I find it rather strange to not link the existing API clients, but link the one for Laravel and for other languages.

That said, I agree with you. I'm planning to finally directly call the API through Guzzle, because I don't want to depend on a library that might be lagging behind Matomo API.

However, if Matomo was written in such a way that it would use its own API client as a composer package, then every one could use it as well in any PHP project. But we're talking about a major rewrite here, so... :)

@tsteur
Copy link
Member

tsteur commented Aug 13, 2020

Hi there. Can we close this one as a duplicate of #7268 @guix77 @Findus23 ? i suppose this one here is more like just documenting the existing libraries and not really a duplicate?

@guix77
Copy link
Author

guix77 commented Aug 13, 2020

Hi, perfect on my side, thanks and sorry, I didn't see #7268

@Findus23
Copy link
Member

It turns out that this page already exists at https://docs.matomo/guides/reporting-api-clients and I updated it in matomo-org/developer-documentation#369 to mention the unofficial clients.

@mattab mattab changed the title Official PHP Reporting Client, or at least link those that already exist Link to PHP Reporting Clients Sep 29, 2020
@mattab mattab changed the title Link to PHP Reporting Clients Link to PHP SDK in Reporting Clients developer doc Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants