-
Notifications
You must be signed in to change notification settings - Fork 72
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
Release Agent API as a composer package #10
Comments
Credentials have been stored in |
@cachedout , this is something else about where to publish those artifacts to https://packagist.org/, I'll rename the issue title |
This is relevant only if we decide to support agent as a pure php library |
I think this is useful even without a pure php library. Whilst developing to add elastic APM to an existing codebase, I found it immensely helpful to install the PHP code (via composer + github) as a dev dependency, as my IDE was able to do code completion. Before I worked out to do this, I was reading the source code + documentation to work out how things should work, but it was much easier this way. |
I would like to bump this. Having the PHP part, or even just the API part of the PHP part of the agent available as a composer package on https://packagist.org/ would greatly help with development flow. I also work a lot with docker and various CI pipelines and currently when I perform the PHPStan phase there are no files available to statically check signatures. |
Just if anybody stumbles upon this, how I curranty work around is by adding a repository in my {
"repositories": {
{
"type": "package",
"package": {
"name": "elastic/apm-agent",
"version": "1.9.1",
"dist": { "url": "https://github.com/elastic/apm-agent-php/archive/refs/tags/v1.9.1.zip", "type": "zip" }
}
},
},
...
"require-dev": {
"elastic/apm-agent": "1.9.1"
}
} Alternatively you can use a GIT repository. See https://getcomposer.org/doc/04-schema.md#repositories |
This is regarding the requirements to be able to release a version for the apm-agent-php.
Requirements
Actions
Prerequisites
Questions
The text was updated successfully, but these errors were encountered: