yiisoft / app

Yii3 application template
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
234 stars 44 forks source link

Update composer.json version constrains #286

Closed marqu3s closed 1 year ago

marqu3s commented 1 year ago

What steps will reproduce the problem?

Try to create an app using composer

composer create-project yiisoft/app --prefer-dist --stability=dev app

What is the expected result?

Success composer execution and installation of all dependencies.

What do you get instead?

A broken composer dependencies instalation. When trying to fix the versions constrains I got stuck in an endless loop of requirements I could not solve.

Additional info

Q A
Version 3.0
PHP version 8.2
Operating system linux ubuntu
terabytesoftw commented 1 year ago

I just installed it with no problem.

marqu3s commented 1 year ago

I’ve just used the yii-docker image and the command worked fine when executed inside the container.

But the versions in the app template composer.json file are outdated anyway when compared to the most recent version of various packages.

vjik commented 1 year ago

Now version constraints allow install last version of packages. For example, by definition "vlucas/phpdotenv": "^5.3" installed version 5.5.0.

Before release we actualize all versions.