Sentry-php: support for older versions of php

Created on 25 Sep 2019  路  3Comments  路  Source: getsentry/sentry-php

Since raven-php got deprecated, I was trying to set up sentry-php in my project.
However, I was unable to do so via composer since it required a >= 2.0 version of sentry/sentry, which in turn requires a PHP version upgrade from my current PHP version (7.0.9) to 7.1 or above.
Is there a way-around to set up the same with older PHP versions?

Question

Most helpful comment

If you're not on PHP 7.1+, you can require the previous version, 1.x.

All 3 comments

Screen Shot 2019-09-25 at 9 24 36 PM
Screen Shot 2019-09-25 at 9 24 11 PM

If you're not on PHP 7.1+, you can require the previous version, 1.x.

Closing this as we won't support PHP < 7.1 in 2.x and newer. 1.x is stable and although a bit old works well, if you cannot upgrade you can stay there. Also note that according to the documentation PHP 7.0 is not supported since the beginning of 2019, so you are using a version of the language that does not even receive security fixes. Of course I understand it may not be feasible in the immediate to upgrade it, but I strongly suggest to do it :wink:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

caugner picture caugner  路  3Comments

mitchhentges picture mitchhentges  路  3Comments

iluuu1994 picture iluuu1994  路  3Comments

m1guelpf picture m1guelpf  路  7Comments

tinproject picture tinproject  路  4Comments