#is a higher php version always better?

3 messages · Page 1 of 1 (latest)

coral jungle
#

so im working on this laravel project right, in the composer.json file i found it was mostly using packages that used php 7.3 im on php 8.2, would the best course of action right now be to downgrade my php version?

i dont have an image of the error message but the error message went something like
laracon21/colorcodeconverter requires php version 7.3, your php version (8.2.0) does not satisfy this requirement

craggy night
#

If you need a package that requires an older version there's not much you can do beside downgrade. Newer versions are usually more secure. You're also likely gonna lose performance and language features.

coral jungle