laravel-enso / enso

Laravel Vue SPA, Bulma themed. For demo login use `admin@laravel-enso.com` & `password` -
https://www.laravel-enso.com
MIT License
1.08k stars 277 forks source link

composer.json loose version match - PHP 8.1 forced upgrade. #427

Open robbykrlos opened 2 years ago

robbykrlos commented 2 years ago

This is a bug.

Hi,

You have set a while ago a composer.json dependency for

        "symfony/http-client": "^6.0",
        "symfony/mailgun-mailer": "^6.0"

Which at that time was matching with version 6.0.X which was required PHP >=8.0.

Both http-client and mailgun-mailer have released 6.1.X which bumped PHP requirements to >=8.1

Now, upgrading (late) to Laravel-enso 5.0.0 will force (due to these 2 dependencies) an upgrade to 8.1, or force user investigate which dependencies are asking for the upgrade, and try lowering the versions to a compatible version.

In our case we went for

        "symfony/http-client": "6.0.*",
        "symfony/mailgun-mailer": "6.0.*"
robbykrlos commented 2 years ago

@aocneanu quick question : did you upgraded to PHP 8.1 already on your side?

robbykrlos commented 2 years ago

Any news on this one?