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

Improve readme for old PHP versions #1157

Merged
merged 1 commit into from
Jul 12, 2021
Merged

Conversation

remi-stripe
Copy link
Contributor

Update readme to make it clearer how to use (or not use) old PHP versions.

r? @richardm-stripe
cc @stripe/api-libraries

@remi-stripe remi-stripe merged commit 782c1f4 into master Jul 12, 2021
@remi-stripe remi-stripe deleted the remi-fix-readme-old-php branch July 12, 2021 14:52
@@ -76,11 +76,13 @@ See [video demonstrations][youtube-playlist] covering how to use the library.

### PHP 5.4 & 5.5

If you are using PHP 5.4 or 5.5, you can download v6.21.1 ([zip](https://github.com/stripe/stripe-php/archive/v6.21.1.zip), [tar.gz](https://github.com/stripe/stripe-php/archive/v6.21.1.tar.gz)) from our [releases page](https://github.com/stripe/stripe-php/releases). This version will continue to work with new versions of the Stripe API for all common uses.
If you are using PHP 5.4 or 5.5, you should consider upgrading your environment as those versions have been past end of life since September 2015 and July 2016 respectively.
Otherwise, you can still use Stripe by downloading stripe-php v6.43.1 ([zip](https://github.com/stripe/stripe-php/archive/v6.43.1.zip), [tar.gz](https://github.com/stripe/stripe-php/archive/v6.21.1.tar.gz)) from our [releases page](https://github.com/stripe/stripe-php/releases). This version will work but might not support recent features we added since the version was released and upgrading PHP is the best course of action.
Copy link
Contributor

@lode lode Jul 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if the change from 6.21.1 to 6.43.1 was intentional, but at least the zip and tar.gz links now point to different releases.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lode it was intentional. We didn't drop support for old PHP version until the next major, so the link points to the most recent minor version for 6.x with support for those PHP versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah damn I see what you meant, I only fixed one, sorry. Nice catch. Let me amend quickly in another PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay fixed in #1161

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants