stripe-php icon indicating copy to clipboard operation
stripe-php copied to clipboard

Composer version

Open bkristl opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

Why are you not putting version of library in composer file (composer.json) ? If you have a version, than can be created automated version dependency in others projects like (stripe/module-payments)

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

bkristl avatar Oct 13 '25 07:10 bkristl

Hi there @bkristl!

We were doing some research here and it seems like the docs discourage setting a version in composer.json if it can be inferred from other places (such as a tag name). all of our releases are tagged in GitHub, so version information is readily available. We also have a VERSION file that includes our version string.

I also double checked and none of our dev dependencies (which themselves are pretty big PHP projects) list a version in composer.json.

Can you tell us a little bit more about what's not possible today and how a version property solves that for you?

xavdid-stripe avatar Oct 29 '25 20:10 xavdid-stripe

Hey @bkristl Closing out this issue as we havent heard back from you in a while If you have answers to the questions above, we can resume this discussion.

ramya-stripe avatar Jan 06 '26 19:01 ramya-stripe