Add Support for PHP among Highlight SDKs#7152
Conversation
|
|
@Vadman97 @jay-khatri this is ready for review. |
Vadman97
left a comment
There was a problem hiding this comment.
thank you for your contribution @ayewo! looks great overall; just asking a few clarifying questions.
could you also add documentation for setting up the SDK similar to https://www.highlight.io/docs/getting-started/backend-sdk/java/other and https://www.highlight.io/docs/sdk/java?
|
@Vadman97 I’ve addressed all the feedback raised in your review. |
|
@ayewo could you run |
@Vadman97 done. |
|
Thanks @ayewo ! Taking a close look again at this today. Meanwhile, do you have any ideas for how we would publish the SDK for our customers to use? Do we upload it to some artifacts repository like with java / npm / pip ? Would like to see the functional tests + the artifact release happening as part of the CI. |
|
ah, looks like we release tags and packagist will pick them up |
@Vadman97 Appreciate that. I would like to have this wrapped up as soon as possible.
With respect to the So, cutting a new release for the PHP SDK will be similar to how you already do it for other languages using GH Actions. All the concerns you've raised so far: CI, packaging/release etc are operational concerns so I think it is best to create separate issue + bounty to discuss and implement them rather than draw out the review of this PR. |
|
@Vadman97 thank you 🙏🏻! Once you have the new issue drafted for the CI and release stuff, feel free to tag me here or on Discord. |
|
ITs great that Laravel has been integrated - but cant see any docs on it |
Summary
The PHP SDK closely follows the design of Java SDK mentioned in the original issue: #4225
How did you test this change?
Automated tests.
Are there any deployment considerations?
Requires a minimum of PHP v8.2+ as some Otel dependencies wont work with older versions like PHP v7.4.
Does this work require review from our design team?
Nope.
/claim #4225