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?


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:
Most helpful comment
If you're not on PHP 7.1+, you can require the previous version, 1.x.